def touch
import bend-collections@1.0.0.0/src/containers/lru.bend as Lruimport Base
import bend-collections@1.0.0.0/src/containers/hash_table.bend as H
182def touch(a, -V: Kind(a), f: LRU<a, V>, +s: U32) -> LRU<a, V>:
183 F{cap, n, head, +tail, free, m, tab, ks, ents, lk} = f
184 touch_go(a, V, F{cap, n, head, tail, free, m, tab, ks, ents, lk}, s, U32.is_eq(H.link(s), tail))