def lstrip

bolt@1.27.0.0 · src/syntax/bind.bend:820

import bolt@1.27.0.0/src/syntax/bind.bend as Bind
import Base

820# leading spaces dropped
821def lstrip(cs: List<&2, Char>) -> List<&2, Char>:
822  match cs:
823    case Con{' ', t}:
824      lstrip(t)
825    case other:
826      other

Uses (6)

Used by (1)