def remove_slot
import bend-collections@1.0.0.0/src/containers/lru.bend as Lruimport Base
286# Drop slot s and its bucket (found by its stored hash and link).
287def remove_slot(a, -V: Kind(a), f: LRU<a, V>, +s: U32, +c: U32) -> LRU<a, V> & Maybe<a, V>:
288 F{+cap, +n, +head, +tail, +free, m, tab, ks, ents, lk} = f
289 dl_m(a, V, cap, n, head, tail, free, tab, ks, ents, lk, s, c, Array.get(U32, m, 6))