def keys_n

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

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

874def keys_n(a, -V: Kind(a), +now: W.U64, f: LRU<a, V>) -> LRU<a, V>:
875  F{cap, +n, head, tail, free, m, tab, ks, ents, lk} = f
876  kx_go(a, V, U32.to_nat(n), now, kx_check(a, V, F{cap, n, head, tail, free, m, tab, ks, ents, lk}, now))

Uses (5)

Used by (1)