def without
import bendvy-ecs-core@0.1.0.3/entity_allocator.bend as EntityAllocatorimport Base
import entity_key.bend as K
57def without(keys:List<&2,K.Key>,+key:K.Key) -> List<&2,K.Key>:
58 match keys:
59 case []:[]
60 case +head <> rest:keep(K.equal(head,key),head,without(rest,key))