def add
import bend-collections-laws-crypto@1.0.0.0/proofs/lib/lemmas/src/cache.bend as Cacheimport Base
import bend-collections-laws-crypto@1.0.0.0/proofs/lib/lemmas/types/model.bend as T
145def add(-K: Data, -V: Data, encode: K -> String, +c: Cache<K, V>, key: K, value: V, now: T.Int64) -> Step<K, V>:
146 State{cap, m, order, life, counts, cb} = c
147 add_with_lifetime(K, V, encode, c, key, value, life, now)
Uses (5)
- String
- bend-collections-laws-crypto@1.0.0.0/proofs/lib/lemmas/src/cache:Cache
- bend-collections-laws-crypto@1.0.0.0/proofs/lib/lemmas/types/model:Int64
- bend-collections-laws-crypto@1.0.0.0/proofs/lib/lemmas/src/cache:Step
- bend-collections-laws-crypto@1.0.0.0/proofs/lib/lemmas/src/cache:add_with_lifetime
Used by (0)
No other definition uses this definition.