Hdr.parse.pick: def of bend-toon-codec@0.1.0.0 Import: import bend-toon-codec@0.1.0.0/src/hdr.bend as Hdr Lines 156-161 of bend-toon-codec@0.1.0.0/src/hdr.bend: https://jend.leeeet.dev/read.txt?path=bend-toon-codec@0.1.0.0/src/hdr.bend&start_line=156&end_line=161 import Base import bend-toon-codec@0.1.0.0/src/num.bend as N import bend-toon-codec@0.1.0.0/src/head.bend as Hd def parse.pick(+open: Bool, +s: String) -> Result<&2, &2, String, Hdr>: match open: case True{}: len(N.span_digits(Hd.drop(s))) case False{}: bad("expected [") Uses (8): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Result https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=bend-toon-codec@0.1.0.0/src/hdr.bend&name=Hdr https://jend.leeeet.dev/definition.txt?path=bend-toon-codec@0.1.0.0/src/hdr.bend&name=bad https://jend.leeeet.dev/definition.txt?path=bend-toon-codec@0.1.0.0/src/hdr.bend&name=len https://jend.leeeet.dev/definition.txt?path=bend-toon-codec@0.1.0.0/src/head.bend&name=drop https://jend.leeeet.dev/definition.txt?path=bend-toon-codec@0.1.0.0/src/num.bend&name=span_digits