LAWS.hmap_absent: def of bend-kit-collections@0.1.4.1 Import: import bend-kit-collections@0.1.4.1/LAWS.bend as LAWS Lines 485-493 of bend-kit-collections@0.1.4.1/LAWS.bend: https://jend.leeeet.dev/read.txt?path=bend-kit-collections@0.1.4.1/LAWS.bend&start_line=485&end_line=493 import Base import bend-kit-collections@0.1.4.1/hmap.bend as M # No entry of xs has a key equal to k. def hmap_absent( ~K: Data, ~V: Data, ~eq: K -> K -> Bool, xs: List<&2, M.Entry>, +k: K ) -> Bool: match xs: case Nil{}: True{} case Con{M.Entry{+key, val}, rest}: Bool.not(eq(k, key)) && hmap_absent(~K, ~V, ~eq, rest, k) Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.and https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.not https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=bend-kit-collections@0.1.4.1/hmap.bend&name=Entry