def intern.full
import bend-kit-regex@0.8.0.0/regex.bend as Regeximport Base
1590def intern.full(room: Bool, +keys: Trie<List<&2, Ix>>, +n: U32, +k: Sk) -> Ik:
1591 match room:
1592 case True{}:
1593 +hash = sk.hash(k)
1594 +found = intern.bucket(trie.at(List<&2, Ix>, keys, hash), k)
1595 intern.if(U32.is_eq(found, seed.id()), found, keys, n, k, hash)
1596 case False{}:
1597 Ik{keys, n, seed.id()}