def registered
bendvy-ecs-core@0.1.0.3 · execution_system.bend:26
import bendvy-ecs-core@0.1.0.3/execution_system.bend as ExecutionSystem
import Base
import bendvy-ecs-core@0.1.0.3/world.bend as W
import bendvy-ecs-core@0.1.0.3/execution_builder.bend as Build
26def registered(~S:Data,~C:Type,~R:Type,~E:Data,~Ops:Data -> (Type -> Type) -> Type -> Type,~Local:Type,~Error:Data,~Out:Data,~declaration:Build.FrameworkProgram(~S,~C,~C,~R,~Ops),~body:Body(~S,~Ops,~Local,~Error,~Out),namespace:U32,name:String,access:List<&2,String>,local:Local,result:W.World<S,C,R,E> & W.Registration) -> Defined<W.World<S,C,R,E>,Owner<S,C,C,R,E,Ops,Local,Error,Out,declaration,body>,Local>:
27 match result:
28 case (world,W.RegistrationRejected{_}):DefinitionRefused{world,local}
29 case (world,W.Registered{id}):Defined{world,Owner{namespace,id,name,access,None{},local}}