law hmap_get_del_other_key

bend-kit-collections@0.1.4.1 · LAWS.bend:609

import bend-kit-collections@0.1.4.1/LAWS.bend as LAWS
import Base
import bend-kit-collections@0.1.4.1/hmap.bend as M

609law hmap_get_del_other_key:
610  for ~K: Data
611  for ~V: Data
612  for ~hash: K -> U32
613  for ~eq: K -> K -> Bool
614  for ~sound: @x: K -> @y: K -> {eq(x, y) == True{} : Bool} -> {x == y : K}
615  for m: M.HMap<K, V>
616  for +k2: K
617  for +k: K
618  for ne: {k2 != k : K}
619  {M.HMap.get(~K, ~V, ~hash, ~eq, M.HMap.del(~K, ~V, ~hash, ~eq, m, k2), k)
620   == M.HMap.get(~K, ~V, ~hash, ~eq, m, k) : Maybe<&2, V>}

Uses (9)

Used by (0)

No other definition uses this definition.