Yscal.colon.find: def of cswap-bend-cli@0.1.0.0 Import: import cswap-bend-cli@0.1.0.0/fmt/yscal.bend as Yscal Lines 244-251 of cswap-bend-cli@0.1.0.0/fmt/yscal.bend: https://jend.leeeet.dev/read.txt?path=cswap-bend-cli@0.1.0.0/fmt/yscal.bend&start_line=244&end_line=251 import Base import cswap-bend-cli@0.1.0.0/fmt/ylex.bend as L def colon.find(s: String, +n: Nat) -> Maybe<&2, Nat>: match s: case SNil{}: None{} case SCon{Chr{c}, SNil{}}: colon.pick(U32.is_eq(c, 58), n, None{}) case SCon{Chr{+c}, SCon{Chr{+d}, t}}: colon.pick(U32.is_eq(c, 58) && L.is_space(d), n, colon.find(SCon{Chr{d}, t}, Nat.add(n, 1n))) Uses (9): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.and https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Char https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat.add https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.is_eq https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/fmt/ylex.bend&name=is_space https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/fmt/yscal.bend&name=colon.pick