Word.at.read: def of bolt@1.27.0.0 Import: import bolt@1.27.0.0/src/syntax/word.bend as Word Lines 99-107 of bolt@1.27.0.0/src/syntax/word.bend: https://jend.leeeet.dev/read.txt?path=bolt@1.27.0.0/src/syntax/word.bend&start_line=99&end_line=107 import Base # the name at col, from here up to the next newline def at.read(ss: String, stop: Bool, st: W, +col: U32) -> String: match ss stop: case SNil{} _: finish(st, col) case SCon{h, t} True{}: finish(st, col) case SCon{+h, t} False{}: at.read(t, Char.is_eq(h, '\n'), at.advance(Char.is_eq(h, '\n'), h, st, col), col) Uses (8): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Char 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=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=bolt@1.27.0.0/src/syntax/word.bend&name=W https://jend.leeeet.dev/definition.txt?path=bolt@1.27.0.0/src/syntax/word.bend&name=at.advance https://jend.leeeet.dev/definition.txt?path=bolt@1.27.0.0/src/syntax/word.bend&name=finish