Hdr.after.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 101-108 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=101&end_line=108 import Base import bend-toon-codec@0.1.0.0/src/head.bend as Hd import bend-toon-codec@0.1.0.0/src/split.bend as S def after.pick(+colon: Bool, +brace: Bool, +n: U32, +d: U32, +s: String) -> Result<&2, &2, String, Hdr>: match colon brace: case True{} _: Done{Hdr{n, d, Nil{}, Hd.drop(s)}} case False{} True{}: fields.cut(n, d, Hd.drop(s), S.find_unq(Hd.drop(s), 125, 0, 0)) case False{} False{}: bad("expected : or a field list after the length") Uses (10): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List 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=Base/base.bend&name=U32 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=fields.cut 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/split.bend&name=find_unq