def add_e

bend-collections@1.0.0.0 · src/containers/lru.bend:408

import bend-collections@1.0.0.0/src/containers/lru.bend as Lru
import Base

408def add_e(a, -V: Kind(a), +cap: U32, +n: U32, +head: U32, +tail: U32, +free: U32, tab: Array<U32>, ks: Array<String>, ents: Array<Maybe<a, V>>, lk: Array<U32>, key: String, +at: U32, +h: U32, +l: U32, r: Array<U32> & Ent<a, V>) -> LRU<a, V> & Bool:
409  (m, e) = r
410  add_pick(a, V, F{cap, n, head, tail, free, m, tab, ks, ents, lk}, key, at, h, l, e, U32.is_eq(l, 0))

Uses (11)

Used by (1)