Hdr.delim.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 114-123 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=114&end_line=123 import Base import bend-toon-codec@0.1.0.0/src/head.bend as Hd def delim.pick(+tab: Bool, +pipe: Bool, +comma: Bool, +n: U32, +s: String) -> Result<&2, &2, String, Hdr>: match tab pipe comma: case True{} _ _: after(n, 9, Hd.drop(Hd.drop(s))) case False{} True{} _: after(n, 124, Hd.drop(Hd.drop(s))) case False{} False{} True{}: after(n, 44, Hd.drop(s)) case False{} False{} False{}: bad("invalid array length") 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=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=after 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/head.bend&name=drop