Lru.replace: def of bend-collections@1.0.0.0 Import: import bend-collections@1.0.0.0/src/containers/lru.bend as Lru Lines 219-222 of bend-collections@1.0.0.0/src/containers/lru.bend: https://jend.leeeet.dev/read.txt?path=bend-collections@1.0.0.0/src/containers/lru.bend&start_line=219&end_line=222 import Base # Present key: new entry in place, touched, counted as an insertion. def replace(a, -V: Kind(a), f: LRU, +s: U32, e: Ent) -> LRU: F{+cap, +n, +head, +tail, +free, m, tab, ks, ents, lk} = f repl_fin(a, V, cap, n, head, tail, free, m, tab, ks, s, put_ent(a, V, ents, lk, s, e)) Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=bend-collections@1.0.0.0/src/containers/lru.bend&name=Ent https://jend.leeeet.dev/definition.txt?path=bend-collections@1.0.0.0/src/containers/lru.bend&name=LRU https://jend.leeeet.dev/definition.txt?path=bend-collections@1.0.0.0/src/containers/lru.bend&name=put_ent https://jend.leeeet.dev/definition.txt?path=bend-collections@1.0.0.0/src/containers/lru.bend&name=repl_fin