def drop_head

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

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

813def drop_head(a, -V: Kind(a), f: LRU<a, V>) -> LRU<a, V>:
814  F{cap, n, +head, tail, free, m, tab, ks, ents, lk} = f
815  drop_v(a, V, remove_slot(a, V, F{cap, n, head, tail, free, m, tab, ks, ents, lk}, H.slot(head), 2))

Uses (4)

Used by (1)