def collect_entry

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

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

287def collect_entry(-K: Data, -V: Data, entry: Maybe<&2, T.Entry<K, V>>, rest: List<&2, T.Entry<K, V>>) -> List<&2, T.Entry<K, V>>:
288  match entry:
289    case None{}:
290      rest
291    case Some{e}:
292      Con{e, rest}

Uses (3)

Used by (1)