Strings.before.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 57-64 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=57&end_line=64 import Base def before.go(s: String, +sep: Char, acc: String, at: Bool) -> String: match s at: case SNil{} _: "" case _ True{}: String.reverse(acc) case SCon{c, +rest} False{}: before.go(rest, sep, SCon{c, acc}, starts_with(rest, sep)) Uses (5): 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=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String.reverse https://jend.leeeet.dev/definition.txt?path=bend-lint-api@0.2.0.0/shared/strings.bend&name=starts_with