def ent_if

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

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

131def ent_if(a, -V: Kind(a), v: V, now: W.U64, m: Array<U32>, on: Bool) -> Array<U32> & Ent<a, V>:
132  match on:
133    case False{}:
134      (m, E{v, 0, 0, 0})
135    case True{}:
136      life_lo(a, V, v, now, Array.get(U32, m, 4))

Uses (9)

Used by (1)