def add_miss
import bend-collections@1.0.0.0/src/containers/lru.bend as Lruimport Base
390def add_miss(a, -V: Kind(a), f: LRU<a, V>, key: String, +at: U32, +h: U32, e: Ent<a, V>, full: Bool) -> LRU<a, V> & Bool:
391 match full:
392 case False{}:
393 (miss_room(a, V, f, key, at, h, e), False{})
394 case True{}:
395 (miss_full(a, V, evict_oldest(a, V, f), key, h, e), True{})