HashTable.eq_acc: def of bend-collections-laws-math@1.0.0.0 Import: import bend-collections-laws-math@1.0.0.0/src/containers/hash_table.bend as HashTable Lines 75-84 of bend-collections-laws-math@1.0.0.0/src/containers/hash_table.bend: https://jend.leeeet.dev/read.txt?path=bend-collections-laws-math@1.0.0.0/src/containers/hash_table.bend&start_line=75&end_line=84 import Base def eq_acc(a: String, b: String, ra: String, rb: String, +e: Bool) -> (String & String) & Bool: match a b: case SNil{} SNil{}: ((rev_onto(ra, SNil{}), rev_onto(rb, SNil{})), e) case SNil{} SCon{h, t}: ((rev_onto(ra, SNil{}), rev_onto(rb, SCon{h, t})), False{}) case SCon{h, t} SNil{}: ((rev_onto(ra, SCon{h, t}), rev_onto(rb, SNil{})), False{}) case SCon{Chr{+x}, ta} SCon{Chr{+y}, tb}: eq_acc(ta, tb, SCon{Chr{x}, ra}, SCon{Chr{y}, rb}, Bool.and(e, U32.is_eq(x, y))) Uses (8): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.and https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Char https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Pair https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Sigma https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32.is_eq https://jend.leeeet.dev/definition.txt?path=bend-collections-laws-math@1.0.0.0/src/containers/hash_table.bend&name=rev_onto