Cache.events: def of bend-collections-laws-math@1.0.0.0 Import: import bend-collections-laws-math@1.0.0.0/proofs/lib/lemmas/src/cache.bend as Cache Lines 62-68 of bend-collections-laws-math@1.0.0.0/proofs/lib/lemmas/src/cache.bend: https://jend.leeeet.dev/read.txt?path=bend-collections-laws-math@1.0.0.0/proofs/lib/lemmas/src/cache.bend&start_line=62&end_line=68 import Base import bend-collections-laws-math@1.0.0.0/proofs/lib/lemmas/types/model.bend as T def events(-K: Data, -V: Data, cb: Bool, e: T.Entry) -> List<&2, T.LruEvent>: match cb: case False{}: Nil{} case True{}: T.Item{k, v, d} = e Con{T.Evicted{k, v}, Nil{}} Uses (4): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=bend-collections-laws-math@1.0.0.0/proofs/lib/lemmas/types/model.bend&name=Entry https://jend.leeeet.dev/definition.txt?path=bend-collections-laws-math@1.0.0.0/proofs/lib/lemmas/types/model.bend&name=LruEvent