String.internal_order_go_lt: def of bend-mathlib@0.8.1.0 Import: import bend-mathlib@0.8.1.0/string.bend as String Lines 186-196 of bend-mathlib@0.8.1.0/string.bend: https://jend.leeeet.dev/read.txt?path=bend-mathlib@0.8.1.0/string.bend&start_line=186&end_line=196 import Base # Base 2.0.38 defines String.order directly, not through String.cmp (PLAN F39); these prove the two agree. def internal_order_go_lt(a: String, b: String) -> {String.order.go(a, b, LT{}) == LT{} : Cmp}: match a b: case SNil{} SNil{}: {==} case SNil{} SCon{h, t}: {==} case SCon{h, t} SNil{}: {==} case SCon{Chr{x}, t1} SCon{Chr{y}, t2}: {==} Uses (4): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Char https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Cmp https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String.order.go