def models.without
import cswap-bend-cli@0.1.0.0/setload.bend as Setloadimport Base
267# The list without the entries equal to `low` ignoring case.
268def models.without(xs: List<&2, String>, +low: String) -> List<&2, String>:
269 match xs:
270 case Nil{}:
271 []
272 case Con{+h, t}:
273 models.without2(String.eq(String.to_lower(h), low), h, models.without(t, low))