Strings.line_start.go: def of bend-lint-api@0.2.0.0 Import: import bend-lint-api@0.2.0.0/shared/strings.bend as Strings Lines 18-31 of bend-lint-api@0.2.0.0/shared/strings.bend: https://jend.leeeet.dev/read.txt?path=bend-lint-api@0.2.0.0/shared/strings.bend&start_line=18&end_line=31 import Base def line_start.go(s: String, +i: U32, +at: U32, start: U32, going: Bool) -> U32: match s going: case _ False{}: start case SNil{} True{}: start case SCon{c, rest} True{}: line_start.go( rest, (i + 1: U32), at, Bool.pick(U32, Char.is_eq(c, '\n'), (i + 1: U32), start), U32.is_lt((i + 1: U32), at) ) 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=Bool.pick 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=Base/base.bend&name=U32.add https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.is_lt