Line.split: def of ezmcp@0.1.0.0 Import: import ezmcp@0.1.0.0/src/line.bend as Line Lines 39-46 of ezmcp@0.1.0.0/src/line.bend: https://jend.leeeet.dev/read.txt?path=ezmcp@0.1.0.0/src/line.bend&start_line=39&end_line=46 import Base # bytes split after every newline: each piece but the last ends with its # newline, and the last has none def split(bs: List<&2, U32>) -> List<&2, List<&2, U32>>: match bs: case []: [[]] case +b <> t: split.at(b, split(t), nl(b)) Uses (4): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=ezmcp@0.1.0.0/src/line.bend&name=nl https://jend.leeeet.dev/definition.txt?path=ezmcp@0.1.0.0/src/line.bend&name=split.at