def room_fin
import bend-collections@1.0.0.0/src/containers/lru.bend as Lruimport Base
106def room_fin(a, -V: Kind(a), +cap: U32, +n: U32, +head: U32, +tail: U32, +free: U32, ks: Array<String>, ents: Array<Maybe<a, V>>, lk: Array<U32>, r: Array<U32> & Array<U32>) -> LRU<a, V>:
107 (m, tab) = r
108 F{cap, n, head, tail, free, m, tab, ks, ents, lk}