Nar.cut: def of ezx@1.13.0.0 Import: import ezx@1.13.0.0/src/sha/nar.bend as Nar Lines 244-250 of ezx@1.13.0.0/src/sha/nar.bend: https://jend.leeeet.dev/read.txt?path=ezx@1.13.0.0/src/sha/nar.bend&start_line=244&end_line=250 import Base # the fields of a listing, each ended by a NUL, exactly as they were printed def cut(text: String) -> List<&2, String>: match text: case SNil{}: [] case SCon{+c, t}: cut.at(Char.is_eq(c, nul()), c, cut(t)) Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Char.is_eq https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=ezx@1.13.0.0/src/sha/nar.bend&name=cut.at https://jend.leeeet.dev/definition.txt?path=ezx@1.13.0.0/src/sha/nar.bend&name=nul