def rm_c

bend-collections@1.0.0.0 · src/containers/lru.bend:703

import bend-collections@1.0.0.0/src/containers/lru.bend as Lru
import Base
import bend-collections@1.0.0.0/src/containers/hash_table.bend as H

703def rm_c(a, -V: Kind(a), f: LRU<a, V>, +c: U32, t: String) -> LRU<a, V> & Maybe<a, V>:
704  match t:
705    case SNil{}:
706      rm_short(a, V, f, c, U32.is_lt(c, H.tag()))
707    case SCon{d, t2}:
708      remove_long(a, V, f, SCon{Chr{c}, SCon{d, t2}})

Uses (10)

Used by (1)