HashTable.hash_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 68-73 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=68&end_line=73 import Base import bend-collections-laws-math@1.0.0.0/src/math/hash.bend as HS def hash_acc(s: String, +h: U32, acc: String) -> String & U32: match s: case SNil{}: (rev_onto(acc, SNil{}), h) case SCon{Chr{+c}, t}: hash_acc(t, HS.mix(h, c), SCon{Chr{c}, acc}) Uses (7): 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 https://jend.leeeet.dev/definition.txt?path=bend-collections-laws-math@1.0.0.0/src/containers/hash_table.bend&name=rev_onto https://jend.leeeet.dev/definition.txt?path=bend-collections-laws-math@1.0.0.0/src/math/hash.bend&name=mix