def trim.front.at

ezx@1.11.0.0 · src/pkg/pkg.bend:75

import ezx@1.11.0.0/src/pkg/pkg.bend as Pkg
import Base

75# the front of a line, past one character that may be blank
76def trim.front.at(skip: Bool, head: Char, tail: String, rest: Unit -> String) -> String:
77  match skip:
78    case True{}:
79      rest(Unit{})
80    case False{}:
81      SCon{head, tail}

Uses (4)

Used by (1)