def items.has
import bend-kit-regex@0.8.0.0/regex.bend as Regeximport Base
893def items.has(xs: List<&2, Item>, +c: U32) -> Bool:
894 match xs:
895 case Nil{}:
896 False{}
897 case Con{h, t}:
898 item.has(h, c) || items.has(t, c)
import bend-kit-regex@0.8.0.0/regex.bend as Regeximport Base
893def items.has(xs: List<&2, Item>, +c: U32) -> Bool:
894 match xs:
895 case Nil{}:
896 False{}
897 case Con{h, t}:
898 item.has(h, c) || items.has(t, c)