def indent2

cswap-bend-cli@0.1.0.0 · clilist.bend:217

import cswap-bend-cli@0.1.0.0/clilist.bend as Clilist
import Base

217def indent2(ls: List<&2, String>) -> String:
218  match ls:
219    case Nil{}:
220      ""
221    case Con{h, t}:
222      "  " ++ h ++ "\n" ++ indent2(t)

Uses (3)

Used by (1)