Cli.same_go: def of cli@0.2.0.0 Import: import cli@0.2.0.0/cli.bend as Cli Lines 1775-1781 of cli@0.2.0.0/cli.bend: https://jend.leeeet.dev/read.txt?path=cli@0.2.0.0/cli.bend&start_line=1775&end_line=1781 import Base # String.eq, without rebuilding both strings to hand them back; the walk # stops at the first difference. def same_go(a: String, b: String, same: Bool) -> Bool: match a b same: case SNil{} SNil{} done: done case SCon{x, xt} SCon{y, yt} True{}: same_go(xt, yt, Char.is_eq(x, y)) case _ _ _: False{} Uses (3): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool 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