Prim.key.end: def of bend-toon-codec@0.1.0.0 Import: import bend-toon-codec@0.1.0.0/src/prim.bend as Prim Lines 80-85 of bend-toon-codec@0.1.0.0/src/prim.bend: https://jend.leeeet.dev/read.txt?path=bend-toon-codec@0.1.0.0/src/prim.bend&start_line=80&end_line=85 import Base import bend-toon-codec@0.1.0.0/src/text.bend as T def key.end(+r: Result<&2, &2, String, T.Cut>) -> Result<&2, &2, String, String>: match r: case Fail{e}: Fail{e} case Done{T.Cut{v, rest}}: key.rest(String.is_empty(rest), v) Uses (5): 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=String.is_empty https://jend.leeeet.dev/definition.txt?path=bend-toon-codec@0.1.0.0/src/prim.bend&name=key.rest https://jend.leeeet.dev/definition.txt?path=bend-toon-codec@0.1.0.0/src/text.bend&name=Cut