law hmap_get_del_same
import bend-kit-collections@0.1.4.1/LAWS.bend as LAWSimport Base
import bend-kit-collections@0.1.4.1/hmap.bend as M
597law hmap_get_del_same:
598 for ~K: Data
599 for ~V: Data
600 for ~hash: K -> U32
601 for ~eq: K -> K -> Bool
602 for ~sound: @x: K -> @y: K -> {eq(x, y) == True{} : Bool} -> {x == y : K}
603 for m: M.HMap<K, V>
604 for wf: {hmap_wf(~K, ~V, ~hash, ~eq, m) == True{} : Bool}
605 for +k: K
606 {M.HMap.get(~K, ~V, ~hash, ~eq, M.HMap.del(~K, ~V, ~hash, ~eq, m, k), k)
607 == None{} : Maybe<&2, V>}
Uses (8)
Used by (0)
No other definition uses this definition.