Format.differ: def of bend-lint-rules@0.2.0.0 Import: import bend-lint-rules@0.2.0.0/layout/format.bend as Format Lines 2341-2349 of bend-lint-rules@0.2.0.0/layout/format.bend: https://jend.leeeet.dev/read.txt?path=bend-lint-rules@0.2.0.0/layout/format.bend&start_line=2341&end_line=2349 import Base # Where `a` and `b` first differ: `same` is whether the characters before `at` were the same. def differ(a: String, b: String, at: U32, same: Bool) -> U32: match a b same: case _ _ False{}: (at - 1: U32) case SCon{x, xs} SCon{y, ys} True{}: differ(xs, ys, (at + 1: U32), Char.is_eq(x, y)) case _ _ True{}: at Uses (6): 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 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.sub