EdlibTypes.equal: def of bend-edit-distance@0.2.2.0 Import: import bend-edit-distance@0.2.2.0/EdlibTypes.bend as EdlibTypes Lines 73-78 of bend-edit-distance@0.2.2.0/EdlibTypes.bend: https://jend.leeeet.dev/read.txt?path=bend-edit-distance@0.2.2.0/EdlibTypes.bend&start_line=73&end_line=78 import Base def equal(pairs: List<&2, EqualityPair>, +a: Char, +b: Char) -> Bool: match pairs: case Nil{}: Char.is_eq(a, b) case pair <> tail: Bool.or(pair_matches(pair, a, b), equal(tail, a, b)) Uses (7): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.or 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=List https://jend.leeeet.dev/definition.txt?path=bend-edit-distance@0.2.2.0/EdlibTypes.bend&name=EqualityPair https://jend.leeeet.dev/definition.txt?path=bend-edit-distance@0.2.2.0/EdlibTypes.bend&name=pair_matches