def read_expiry
bend-collections-laws-math@1.0.0.0 · proofs/lib/lemmas/src/cache.bend:178
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
178def read_expiry(-K: Data, -V: Data, +c: Cache<K, V>, code: String, entry: T.Entry<K, V>, +tracked: Bool, expired: Bool) -> Step<K, V>:
179 match expired:
180 case False{}:
181 read_live(K, V, c, code, entry, tracked)
182 case True{}:
183 miss_after_remove(K, V, remove_encoded(K, V, c, code, False{}), tracked)