def reset_metrics

bend-collections-laws-math@1.0.0.0 · proofs/lib/lemmas/src/cache.bend:225

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

225def reset_metrics(-K: Data, -V: Data, +c: Cache<K, V>) -> Cache<K, V> & T.Metrics:
226  State{cap, m, order, life, counts, cb} = c
227  (State{cap, m, order, life, T.zero_metrics(), cb}, counts)

Uses (5)

Used by (0)

No other definition uses this definition.