def trim

gralha-text-scan@0.1.0.1 · scan.bend:56

import gralha-text-scan@0.1.0.1/scan.bend as Scan
import Base

56def trim(+s: String) -> String:
57  match s:
58    case SNil{}: ""
59    case SCon{Chr{c}, t}:
60      branch(String, space(c), _ => trim(t), _ => SCon{Chr{c}, t})

Uses (4)

Used by (19)