decode_traversal.bend checks
raw source on the hub · import bendvy-ecs-core@0.1.0.7/decode_traversal.bend as Decode_traversal
10 imports
import Base import ./change_tick.bend as Tick import ./decode_frame.bend as F import ./decode_requests.bend as Request import ./compose.bend as Query import ./world.bend as World import ./transaction.bend as T import ./capabilities.bend as Cap import ./decode_data.bend as D import ./ordinary_declaration.bend as Identity
Templates
template completed source · line 15 · raw
@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-P:Type -> @-Q:Type -> @-A:Type -> @-U:Data -> @-Out:Data -> @-Ops:(@_:Type -> Type) -> @-identity:0x7e321819d0ff210531780719c7674cef/ordinary_declaration.Declaration<S, P> -> @-project:(@_:P -> Pair(P, 0x7e321819d0ff210531780719c7674cef/decode_data.Raw)) -> @next:(@_:0x7e321819d0ff210531780719c7674cef/decode_frame.Frame<S, C, R, E, P, Q, identity, project> -> @_:A -> @_:List<&2, Out> -> Pair(0x7e321819d0ff210531780719c7674cef/decode_frame.Frame<S, C, R, E, P, Q, identity, project>, Pair(A, Pair(0x7e321819d0ff210531780719c7674cef/transaction.Outcome<0x7e321819d0ff210531780719c7674cef/compose.Error<U>>, List<&2, Out>)))) -> @frame:0x7e321819d0ff210531780719c7674cef/decode_frame.Frame<S, C, R, E, P, Q, identity, project> -> @state:A -> @values:List<&2, Out> -> @result:0x7e321819d0ff210531780719c7674cef/transaction.Outcome<0x7e321819d0ff210531780719c7674cef/compose.Error<U>> -> Pair(0x7e321819d0ff210531780719c7674cef/decode_frame.Frame<S, C, R, E, P, Q, identity, project>, Pair(A, Pair(0x7e321819d0ff210531780719c7674cef/transaction.Outcome<0x7e321819d0ff210531780719c7674cef/compose.Error<U>>, List<&2, Out>)))
Trusted traversal kernel. A is an explicit application-owned state threaded once across selected rows; the Local adapter retains it on system failure. Data row observations stay commit-only. This is not a new captures policy.
template returned source · line 20 · raw
@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-P:Type -> @-Q:Type -> @-A:Type -> @-U:Data -> @-Out:Data -> @-Ops:(@_:Type -> Type) -> @-identity:0x7e321819d0ff210531780719c7674cef/ordinary_declaration.Declaration<S, P> -> @-project:(@_:P -> Pair(P, 0x7e321819d0ff210531780719c7674cef/decode_data.Raw)) -> @next:(@_:0x7e321819d0ff210531780719c7674cef/decode_frame.Frame<S, C, R, E, P, Q, identity, project> -> @_:A -> @_:List<&2, Out> -> Pair(0x7e321819d0ff210531780719c7674cef/decode_frame.Frame<S, C, R, E, P, Q, identity, project>, Pair(A, Pair(0x7e321819d0ff210531780719c7674cef/transaction.Outcome<0x7e321819d0ff210531780719c7674cef/compose.Error<U>>, List<&2, Out>)))) -> @values:List<&2, Out> -> @observed:Pair(0x7e321819d0ff210531780719c7674cef/decode_frame.Frame<S, C, R, E, P, Q, identity, project>, Pair(A, Pair(0x7e321819d0ff210531780719c7674cef/transaction.Outcome<U>, Out))) -> Pair(0x7e321819d0ff210531780719c7674cef/decode_frame.Frame<S, C, R, E, P, Q, identity, project>, Pair(A, Pair(0x7e321819d0ff210531780719c7674cef/transaction.Outcome<0x7e321819d0ff210531780719c7674cef/compose.Error<U>>, List<&2, Out>)))
template selected source · line 24 · raw
@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-P:Type -> @-Q:Type -> @-A:Type -> @-U:Data -> @-Out:Data -> @-Ops:(@_:Type -> Type) -> @-identity:0x7e321819d0ff210531780719c7674cef/ordinary_declaration.Declaration<S, P> -> @-project:(@_:P -> Pair(P, 0x7e321819d0ff210531780719c7674cef/decode_data.Raw)) -> @-grants:Ops(0x7e321819d0ff210531780719c7674cef/decode_frame.Frame<S, C, R, E, P, Q, identity, project>) -> @-body:(@-H:Type -> @-caps:Ops(H) -> @_:A -> @_:H -> Pair(H, Pair(A, Pair(0x7e321819d0ff210531780719c7674cef/transaction.Outcome<U>, Out)))) -> @next:(@_:0x7e321819d0ff210531780719c7674cef/decode_frame.Frame<S, C, R, E, P, Q, identity, project> -> @_:A -> @_:List<&2, Out> -> Pair(0x7e321819d0ff210531780719c7674cef/decode_frame.Frame<S, C, R, E, P, Q, identity, project>, Pair(A, Pair(0x7e321819d0ff210531780719c7674cef/transaction.Outcome<0x7e321819d0ff210531780719c7674cef/compose.Error<U>>, List<&2, Out>)))) -> @state:A -> @values:List<&2, Out> -> @observed:Pair(0x7e321819d0ff210531780719c7674cef/decode_frame.Frame<S, C, R, E, P, Q, identity, project>, Bool) -> Pair(0x7e321819d0ff210531780719c7674cef/decode_frame.Frame<S, C, R, E, P, Q, identity, project>, Pair(A, Pair(0x7e321819d0ff210531780719c7674cef/transaction.Outcome<0x7e321819d0ff210531780719c7674cef/compose.Error<U>>, List<&2, Out>)))
template at_handle source · line 29 · raw
@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-P:Type -> @-Q:Type -> @-identity:0x7e321819d0ff210531780719c7674cef/ordinary_declaration.Declaration<S, P> -> @-project:(@_:P -> Pair(P, 0x7e321819d0ff210531780719c7674cef/decode_data.Raw)) -> @frame:0x7e321819d0ff210531780719c7674cef/decode_frame.Frame<S, C, R, E, P, Q, identity, project> -> @handle:0x7e321819d0ff210531780719c7674cef/world.Handle<S> -> @cursor:Maybe<&2, 0x7e321819d0ff210531780719c7674cef/change_tick.Tick> -> 0x7e321819d0ff210531780719c7674cef/decode_frame.Frame<S, C, R, E, P, Q, identity, project>
template run_rows source · line 33 · raw
@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-P:Type -> @-Q:Type -> @-A:Type -> @-U:Data -> @-Out:Data -> @-Ops:(@_:Type -> Type) -> @-identity:0x7e321819d0ff210531780719c7674cef/ordinary_declaration.Declaration<S, P> -> @-project:(@_:P -> Pair(P, 0x7e321819d0ff210531780719c7674cef/decode_data.Raw)) -> @-selector:(@_:0x7e321819d0ff210531780719c7674cef/decode_frame.Frame<S, C, R, E, P, Q, identity, project> -> Pair(0x7e321819d0ff210531780719c7674cef/decode_frame.Frame<S, C, R, E, P, Q, identity, project>, Bool)) -> @-grants:Ops(0x7e321819d0ff210531780719c7674cef/decode_frame.Frame<S, C, R, E, P, Q, identity, project>) -> @-body:(@-H:Type -> @-caps:Ops(H) -> @_:A -> @_:H -> Pair(H, Pair(A, Pair(0x7e321819d0ff210531780719c7674cef/transaction.Outcome<U>, Out)))) -> @handles:List<&2, 0x7e321819d0ff210531780719c7674cef/world.Handle<S>> -> @+cursor:Maybe<&2, 0x7e321819d0ff210531780719c7674cef/change_tick.Tick> -> @frame:0x7e321819d0ff210531780719c7674cef/decode_frame.Frame<S, C, R, E, P, Q, identity, project> -> @state:A -> @values:List<&2, Out> -> Pair(0x7e321819d0ff210531780719c7674cef/decode_frame.Frame<S, C, R, E, P, Q, identity, project>, Pair(A, Pair(0x7e321819d0ff210531780719c7674cef/transaction.Outcome<0x7e321819d0ff210531780719c7674cef/compose.Error<U>>, List<&2, Out>)))