def admitted
bendvy-ecs-core@0.1.0.3 · execution_relation_store.bend:45
import bendvy-ecs-core@0.1.0.3/execution_relation_store.bend as ExecutionRelationStore
import Base
import bendvy-ecs-core@0.1.0.3/entity_allocator.bend as A
import bendvy-ecs-core@0.1.0.3/relation_types.bend as T
import bendvy-ecs-core@0.1.0.3/execution_relation_operation.bend as O
import bendvy-ecs-core@0.1.0.3/execution_relation_interpreter.bend as I
45def admitted(~S:Data,~descriptor:T.Descriptor<S>,same:Bool,+namespace:U32,allocator:A.Allocator,store:Store<S,descriptor>,operation:O.Operation<S>) -> A.Allocator & (Store<S,descriptor> & Receipt<S>):
46 match same store:
47 case False{} store:(allocator,(store,Refused{operation,NamespaceMismatch{}}))
48 case True{} Store{_,graph,failures,sequence,nextReader}:interpreted(~S,~descriptor,namespace,failures,sequence,nextReader,I.apply(~S,~descriptor,namespace,allocator,graph,operation))