def Yaml.lines

bend-kube-runtime@0.2.0.0 · src/yaml.bend:262

import bend-kube-runtime@0.2.0.0/src/yaml.bend as Yaml
import Base

262# The meaningful lines: indentation and text, comments and blanks gone,
263# block scalars (| and >) folded into one line each.
264def Yaml.lines(s: String) -> List<&2, Line>:
265  Yaml.lines.fin(Yaml.lines.fold(String.lines(s), LS{Nil{}, None{}}))

Uses (8)

Used by (2)