Frame.nl.find: def of cswap-bend-cli@0.1.0.0 Import: import cswap-bend-cli@0.1.0.0/frame.bend as Frame Lines 17-23 of cswap-bend-cli@0.1.0.0/frame.bend: https://jend.leeeet.dev/read.txt?path=cswap-bend-cli@0.1.0.0/frame.bend&start_line=17&end_line=23 import Base # Index of the first LF. def nl.find(s: String, +n: Nat) -> Maybe<&2, Nat>: match s: case SNil{}: None{} case SCon{Chr{+c}, t}: nl.pick(U32.is_eq(c, 10), n, nl.find(t, Nat.add(n, 1n))) Uses (7): 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/frame.bend&name=nl.pick