def trim.front

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

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

83# a line with its leading blanks dropped
84def trim.front(line: String) -> String:
85  match line:
86    case SNil{}:
87      SNil{}
88    case SCon{+h, +t}:
89      trim.front.at(blank(h), h, t, _u => trim.front(t))

Uses (3)

Used by (1)