optimized_compose.bend checks
raw source on the hub · import bendvy-ecs-core@0.1.0.6/optimized_compose.bend as Optimized_compose
5 imports
import Base import ./change_tick.bend as Tick import world.bend as W import compose.bend as Q import transaction.bend as T
Templates
template map_store source · line 9 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-map:(@_:Store -> Store) -> @world:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, Store, R, E> -> 0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, Store, R, E>
Trusted schema preparation/recovery declarations preserve arbitrary Store/Ops. The registered runner remains indexed by this closed provider selection.
template recovered source · line 12 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-U:Data -> @-Out:Data -> @-recover:(@_:Store -> Store) -> @result:0x14a72e1c180a5ab1f8a056d43822425c/compose.Executed<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, Store, R, E>, 0x14a72e1c180a5ab1f8a056d43822425c/compose.Error<U>, Out> -> 0x14a72e1c180a5ab1f8a056d43822425c/compose.Executed<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, Store, R, E>, 0x14a72e1c180a5ab1f8a056d43822425c/compose.Error<U>, Out>
template each source · line 15 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Ops:(@_:Type -> Type) -> @-A:Data -> @-U:Data -> @-Out:Data -> @-plan:0x14a72e1c180a5ab1f8a056d43822425c/compose.Plan<S, Store, R, E, Ops> -> @-body:(@-H:Type -> @-caps:Ops(H) -> @_:A -> @_:H -> Pair(H, Pair(0x14a72e1c180a5ab1f8a056d43822425c/transaction.Outcome<U>, Out))) -> @-prepare:(@_:Store -> Store) -> @-recover:(@_:Store -> Store) -> @args:A -> @world:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, Store, R, E> -> 0x14a72e1c180a5ab1f8a056d43822425c/compose.Executed<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, Store, R, E>, 0x14a72e1c180a5ab1f8a056d43822425c/compose.Error<U>, Out>
template each_since source · line 17 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Ops:(@_:Type -> Type) -> @-A:Data -> @-U:Data -> @-Out:Data -> @-plan:0x14a72e1c180a5ab1f8a056d43822425c/compose.Plan<S, Store, R, E, Ops> -> @-body:(@-H:Type -> @-caps:Ops(H) -> @_:A -> @_:H -> Pair(H, Pair(0x14a72e1c180a5ab1f8a056d43822425c/transaction.Outcome<U>, Out))) -> @-prepare:(@_:Store -> Store) -> @-recover:(@_:Store -> Store) -> @args:A -> @world:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, Store, R, E> -> @cursor:Maybe<&2, 0x14a72e1c180a5ab1f8a056d43822425c/change_tick.Tick> -> 0x14a72e1c180a5ab1f8a056d43822425c/compose.Executed<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, Store, R, E>, 0x14a72e1c180a5ab1f8a056d43822425c/compose.Error<U>, Out>