def map_size

bend-collections-laws-crypto@1.0.0.0 · proofs/lib/lemmas/src/cache.bend:306

import bend-collections-laws-crypto@1.0.0.0/proofs/lib/lemmas/src/cache.bend as Cache
import Base
import bend-collections-laws-crypto@1.0.0.0/proofs/lib/lemmas/types/model.bend as T

306def map_size(-K: Data, -V: Data, c: Cache<K, V>) -> Nat:
307  State{cap, m, order, life, counts, cb} = c
308  Map.size(&2, Maybe<&2, T.Entry<K, V>>, m)

Uses (5)

Used by (0)

No other definition uses this definition.