def without
import bendvy-ecs-core@0.1.0.4/registration.bend as Registrationimport Base
import bendvy-ecs-core@0.1.0.4/world.bend as W
11def without(registrations: List<&2,W.RegistrationMeta>,+id: U32,+name: String,+access: List<&2,String>) -> List<&2,W.RegistrationMeta>:
12 match registrations:
13 case []: []
14 case +meta <> rest: retained(Bool.not(W.registration_meta_matches(meta,id,name,access)),meta,without(rest,id,name,access))