recognized_system.bend checks
raw source on the hub · import bendvy-ecs-core@0.1.0.6/recognized_system.bend as Recognized_system
11 imports
import Base import ./change_tick.bend as Tick import ./recognized_query_declaration.bend as N import ./internal/compact_operational_frame.bend as F import ./ordinary_query_declaration.bend as Decl import ./ordinary_system.bend as Ordinary import ./compose.bend as Q import ./transaction.bend as T import ./world.bend as W import ./system.bend as Sys import ./capabilities.bend as Cap
Templates
template target source · line 15 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @handle:0x14a72e1c180a5ab1f8a056d43822425c/world.Handle<S> -> @frame:0x14a72e1c180a5ab1f8a056d43822425c/internal/compact_operational_frame.Frame<S, Store, R, E> -> 0x14a72e1c180a5ab1f8a056d43822425c/internal/compact_operational_frame.Frame<S, Store, R, E>
Registry ownership and final transaction semantics remain ordinary. The closed recognized carrier supplies operations for this concrete, smaller owner.
template row_completed source · line 18 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-U:Data -> @-Out:Data -> @frame:0x14a72e1c180a5ab1f8a056d43822425c/internal/compact_operational_frame.Frame<S, Store, R, E> -> @value:Out -> @status:0x14a72e1c180a5ab1f8a056d43822425c/transaction.Outcome<0x14a72e1c180a5ab1f8a056d43822425c/compose.Error<U>> -> Pair(0x14a72e1c180a5ab1f8a056d43822425c/internal/compact_operational_frame.Frame<S, Store, R, E>, 0x14a72e1c180a5ab1f8a056d43822425c/compose.RowResult<U, Out>)
template body_returned source · line 22 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-U:Data -> @-Out:Data -> @observed:Pair(0x14a72e1c180a5ab1f8a056d43822425c/internal/compact_operational_frame.Frame<S, Store, R, E>, Pair(0x14a72e1c180a5ab1f8a056d43822425c/transaction.Outcome<U>, Out)) -> Pair(0x14a72e1c180a5ab1f8a056d43822425c/internal/compact_operational_frame.Frame<S, Store, R, E>, 0x14a72e1c180a5ab1f8a056d43822425c/compose.RowResult<U, Out>)
template selected source · line 25 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Ops:(@_:Type -> Type) -> @-A:Data -> @-U:Data -> @-Out:Data -> @-query:0x14a72e1c180a5ab1f8a056d43822425c/recognized_query_declaration.Declaration<S, Store, R, E, Ops> -> @-body:(@-H:Type -> @-caps:Ops(H) -> @_:A -> @_:H -> Pair(H, Pair(0x14a72e1c180a5ab1f8a056d43822425c/transaction.Outcome<U>, Out))) -> @args:A -> @observed:Pair(0x14a72e1c180a5ab1f8a056d43822425c/internal/compact_operational_frame.Frame<S, Store, R, E>, Bool) -> Pair(0x14a72e1c180a5ab1f8a056d43822425c/internal/compact_operational_frame.Frame<S, Store, R, E>, 0x14a72e1c180a5ab1f8a056d43822425c/compose.RowResult<U, Out>)
template run_handles source · line 29 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Ops:(@_:Type -> Type) -> @-A:Data -> @-U:Data -> @-Out:Data -> @-query:0x14a72e1c180a5ab1f8a056d43822425c/recognized_query_declaration.Declaration<S, Store, R, E, Ops> -> @-body:(@-H:Type -> @-caps:Ops(H) -> @_:A -> @_:H -> Pair(H, Pair(0x14a72e1c180a5ab1f8a056d43822425c/transaction.Outcome<U>, Out))) -> @handles:List<&2, 0x14a72e1c180a5ab1f8a056d43822425c/world.Handle<S>> -> @+args:A -> @values:List<&2, Out> -> @observed:Pair(0x14a72e1c180a5ab1f8a056d43822425c/internal/compact_operational_frame.Frame<S, Store, R, E>, 0x14a72e1c180a5ab1f8a056d43822425c/compose.RowResult<U, Out>) -> Pair(0x14a72e1c180a5ab1f8a056d43822425c/internal/compact_operational_frame.Frame<S, Store, R, E>, Pair(0x14a72e1c180a5ab1f8a056d43822425c/transaction.Outcome<0x14a72e1c180a5ab1f8a056d43822425c/compose.Error<U>>, List<&2, Out>))
template finish_frame source · line 36 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-U:Data -> @-Out:Data -> @result:Pair(0x14a72e1c180a5ab1f8a056d43822425c/transaction.Outcome<0x14a72e1c180a5ab1f8a056d43822425c/compose.Error<U>>, List<&2, Out>) -> @frame:0x14a72e1c180a5ab1f8a056d43822425c/compose.Frame<S, Store, R, E> -> 0x14a72e1c180a5ab1f8a056d43822425c/compose.Executed<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, Store, R, E>, 0x14a72e1c180a5ab1f8a056d43822425c/compose.Error<U>, Out>
template finished source · line 39 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-U:Data -> @-Out:Data -> @observed:Pair(0x14a72e1c180a5ab1f8a056d43822425c/internal/compact_operational_frame.Frame<S, Store, R, E>, Pair(0x14a72e1c180a5ab1f8a056d43822425c/transaction.Outcome<0x14a72e1c180a5ab1f8a056d43822425c/compose.Error<U>>, List<&2, Out>)) -> 0x14a72e1c180a5ab1f8a056d43822425c/compose.Executed<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, Store, R, E>, 0x14a72e1c180a5ab1f8a056d43822425c/compose.Error<U>, Out>
template reserved source · line 42 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Ops:(@_:Type -> Type) -> @-A:Data -> @-U:Data -> @-Out:Data -> @-query:0x14a72e1c180a5ab1f8a056d43822425c/recognized_query_declaration.Declaration<S, Store, R, E, Ops> -> @-body:(@-H:Type -> @-caps:Ops(H) -> @_:A -> @_:H -> Pair(H, Pair(0x14a72e1c180a5ab1f8a056d43822425c/transaction.Outcome<U>, Out))) -> @+args:A -> @cursor:Maybe<&2, 0x14a72e1c180a5ab1f8a056d43822425c/change_tick.Tick> -> @observed:Pair(0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, Store, R, E>, List<&2, 0x14a72e1c180a5ab1f8a056d43822425c/world.Handle<S>>) -> 0x14a72e1c180a5ab1f8a056d43822425c/compose.Executed<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, Store, R, E>, 0x14a72e1c180a5ab1f8a056d43822425c/compose.Error<U>, Out>
template runner source · line 46 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Ops:(@_:Type -> Type) -> @-A:Data -> @-U:Data -> @-Out:Data -> @-query:0x14a72e1c180a5ab1f8a056d43822425c/recognized_query_declaration.Declaration<S, Store, R, E, Ops> -> @-body:(@-H:Type -> @-caps:Ops(H) -> @_:A -> @_:H -> Pair(H, Pair(0x14a72e1c180a5ab1f8a056d43822425c/transaction.Outcome<U>, Out))) -> @world:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, Store, R, E> -> @args:Pair(A, Maybe<&2, 0x14a72e1c180a5ab1f8a056d43822425c/change_tick.Tick>) -> 0x14a72e1c180a5ab1f8a056d43822425c/system.Outcome<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, Store, R, E>, 0x14a72e1c180a5ab1f8a056d43822425c/compose.Error<U>, List<&2, Out>>
template registered source · line 49 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Ops:(@_:Type -> Type) -> @-A:Data -> @-U:Data -> @-Out:Data -> @-query:0x14a72e1c180a5ab1f8a056d43822425c/recognized_query_declaration.Declaration<S, Store, R, E, Ops> -> @-body:(@-H:Type -> @-caps:Ops(H) -> @_:A -> @_:H -> Pair(H, Pair(0x14a72e1c180a5ab1f8a056d43822425c/transaction.Outcome<U>, Out))) -> @slot:String -> @clauses:List<&2, 0x14a72e1c180a5ab1f8a056d43822425c/ordinary_query_declaration.Clause<S>> -> @result:0x14a72e1c180a5ab1f8a056d43822425c/system.RegistrationResult<S, Store, R, E, Pair(A, Maybe<&2, 0x14a72e1c180a5ab1f8a056d43822425c/change_tick.Tick>), 0x14a72e1c180a5ab1f8a056d43822425c/compose.Error<U>, List<&2, Out>, runner(S, Store, R, E, Ops, A, U, Out, query, body)> -> 0x14a72e1c180a5ab1f8a056d43822425c/ordinary_system.Defined<S, 0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, Store, R, E>, 0x14a72e1c180a5ab1f8a056d43822425c/system.Registry<S, Store, R, E, Pair(A, Maybe<&2, 0x14a72e1c180a5ab1f8a056d43822425c/change_tick.Tick>), 0x14a72e1c180a5ab1f8a056d43822425c/compose.Error<U>, List<&2, Out>, runner(S, Store, R, E, Ops, A, U, Out, query, body)>>
template define source · line 53 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Ops:(@_:Type -> Type) -> @-A:Data -> @-U:Data -> @-Out:Data -> @-query:0x14a72e1c180a5ab1f8a056d43822425c/recognized_query_declaration.Declaration<S, Store, R, E, Ops> -> @-body:(@-H:Type -> @-caps:Ops(H) -> @_:A -> @_:H -> Pair(H, Pair(0x14a72e1c180a5ab1f8a056d43822425c/transaction.Outcome<U>, Out))) -> @world:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, Store, R, E> -> @name:String -> @slot:String -> 0x14a72e1c180a5ab1f8a056d43822425c/ordinary_system.Defined<S, 0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, Store, R, E>, 0x14a72e1c180a5ab1f8a056d43822425c/system.Registry<S, Store, R, E, Pair(A, Maybe<&2, 0x14a72e1c180a5ab1f8a056d43822425c/change_tick.Tick>), 0x14a72e1c180a5ab1f8a056d43822425c/compose.Error<U>, List<&2, Out>, runner(S, Store, R, E, Ops, A, U, Out, query, body)>>