Decode.single.pick: def of bend-toon-codec@0.1.0.0 Import: import bend-toon-codec@0.1.0.0/src/decode.bend as Decode Lines 90-96 of bend-toon-codec@0.1.0.0/src/decode.bend: https://jend.leeeet.dev/read.txt?path=bend-toon-codec@0.1.0.0/src/decode.bend&start_line=90&end_line=96 import Base import bend-toon-codec@0.1.0.0/src/json.bend as J import bend-toon-codec@0.1.0.0/src/prim.bend as P import bend-toon-codec@0.1.0.0/src/entry.bend as E import bend-toon-codec@0.1.0.0/src/dline.bend as D # A one-line document that is no entry is a primitive. def single.pick(+r: Result<&2, &2, String, E.Ent>, +text: String, +ls: List<&2, D.DL>, +strict: Bool) -> Result<&2, &2, String, J.Json>: match r: case Done{E.ENot{}}: P.parse(text) case _: run.object(ls, strict) Uses (9): 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=bend-toon-codec@0.1.0.0/src/decode.bend&name=run.object https://jend.leeeet.dev/definition.txt?path=bend-toon-codec@0.1.0.0/src/dline.bend&name=DL https://jend.leeeet.dev/definition.txt?path=bend-toon-codec@0.1.0.0/src/entry.bend&name=Ent https://jend.leeeet.dev/definition.txt?path=bend-toon-codec@0.1.0.0/src/json.bend&name=Json https://jend.leeeet.dev/definition.txt?path=bend-toon-codec@0.1.0.0/src/prim.bend&name=parse