def start.first

bend-toon-codec@0.1.0.0 · src/decode.bend:133

import bend-toon-codec@0.1.0.0/src/decode.bend as Decode
import Base
import bend-toon-codec@0.1.0.0/src/json.bend as J
import bend-toon-codec@0.1.0.0/src/dline.bend as D

133def start.first(+l: D.DL, +rest: List<&2, D.DL>, +strict: Bool) -> Result<&2, &2, String, J.Json>:
134  match l:
135    case D.DL{no, depth, text, blank}:
136      root.hdr(header.try(depth, text), all_blank(rest), text, Con{l, rest}, rest, strict)

Uses (9)

Used by (1)