~/bend-docscommunity

owned_compose.bend checks

raw source on the hub · import 0x67fd5084c1da4adc13317822045bb11f/owned_compose.bend as Owned_compose

7 imports
import Base
import ./change_tick.bend as Tick
import world.bend as W
import transaction.bend as T
import commands.bend as Cmd
import compose.bend as Q
import capabilities.bend as Cap

Types

type Plan source · line 10 · raw

@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Ops:(@_:Type -> Type) -> @-H:Type -> Type

Trusted declaration; gameplay can only thread universally quantified H.

Templates

template plan_caps source · line 13 · raw

@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Ops:(@_:Type -> Type) -> @-H:Type -> @plan:Plan<S, Store, R, E, Ops, H> -> Ops(H)

template plan_select source · line 17 · raw

@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Ops:(@_:Type -> Type) -> @-H:Type -> @plan:Plan<S, Store, R, E, Ops, H> -> @_:0x67fd5084c1da4adc13317822045bb11f/compose.Frame<S, Store, R, E> -> Pair(0x67fd5084c1da4adc13317822045bb11f/compose.Frame<S, Store, R, E>, Bool)

template plan_enter source · line 21 · raw

@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Ops:(@_:Type -> Type) -> @-H:Type -> @plan:Plan<S, Store, R, E, Ops, H> -> @_:0x67fd5084c1da4adc13317822045bb11f/compose.Frame<S, Store, R, E> -> H

template plan_leave source · line 25 · raw

@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Ops:(@_:Type -> Type) -> @-H:Type -> @plan:Plan<S, Store, R, E, Ops, H> -> @_:H -> 0x67fd5084c1da4adc13317822045bb11f/compose.Frame<S, Store, R, E>

template left source · line 29 · raw

@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-H:Type -> @-U:Data -> @-Out:Data -> @-leave:(@_:H -> 0x67fd5084c1da4adc13317822045bb11f/compose.Frame<S, Store, R, E>) -> @observed:Pair(H, Pair(0x67fd5084c1da4adc13317822045bb11f/transaction.Outcome<U>, Out)) -> Pair(0x67fd5084c1da4adc13317822045bb11f/compose.Frame<S, Store, R, E>, Pair(0x67fd5084c1da4adc13317822045bb11f/transaction.Outcome<U>, Out))

template prepend source · line 33 · raw

@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-U:Data -> @-Out:Data -> @value:Out -> @observed:Pair(0x67fd5084c1da4adc13317822045bb11f/transaction.Tx<0x67fd5084c1da4adc13317822045bb11f/world.World<S, Store, R, E>, E>, Pair(0x67fd5084c1da4adc13317822045bb11f/transaction.Outcome<0x67fd5084c1da4adc13317822045bb11f/compose.Error<U>>, List<&2, Out>)) -> Pair(0x67fd5084c1da4adc13317822045bb11f/transaction.Tx<0x67fd5084c1da4adc13317822045bb11f/world.World<S, Store, R, E>, E>, Pair(0x67fd5084c1da4adc13317822045bb11f/transaction.Outcome<0x67fd5084c1da4adc13317822045bb11f/compose.Error<U>>, List<&2, Out>))

template completed source · line 37 · raw

@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-U:Data -> @-Out:Data -> @next:(@_:0x67fd5084c1da4adc13317822045bb11f/transaction.Tx<0x67fd5084c1da4adc13317822045bb11f/world.World<S, Store, R, E>, E> -> Pair(0x67fd5084c1da4adc13317822045bb11f/transaction.Tx<0x67fd5084c1da4adc13317822045bb11f/world.World<S, Store, R, E>, E>, Pair(0x67fd5084c1da4adc13317822045bb11f/transaction.Outcome<0x67fd5084c1da4adc13317822045bb11f/compose.Error<U>>, List<&2, Out>))) -> @tx:0x67fd5084c1da4adc13317822045bb11f/transaction.Tx<0x67fd5084c1da4adc13317822045bb11f/world.World<S, Store, R, E>, E> -> @value:Out -> @result:0x67fd5084c1da4adc13317822045bb11f/transaction.Outcome<0x67fd5084c1da4adc13317822045bb11f/compose.Error<U>> -> Pair(0x67fd5084c1da4adc13317822045bb11f/transaction.Tx<0x67fd5084c1da4adc13317822045bb11f/world.World<S, Store, R, E>, E>, Pair(0x67fd5084c1da4adc13317822045bb11f/transaction.Outcome<0x67fd5084c1da4adc13317822045bb11f/compose.Error<U>>, List<&2, Out>))

template body_returned source · line 41 · raw

@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-U:Data -> @-Out:Data -> @next:(@_:0x67fd5084c1da4adc13317822045bb11f/transaction.Tx<0x67fd5084c1da4adc13317822045bb11f/world.World<S, Store, R, E>, E> -> Pair(0x67fd5084c1da4adc13317822045bb11f/transaction.Tx<0x67fd5084c1da4adc13317822045bb11f/world.World<S, Store, R, E>, E>, Pair(0x67fd5084c1da4adc13317822045bb11f/transaction.Outcome<0x67fd5084c1da4adc13317822045bb11f/compose.Error<U>>, List<&2, Out>))) -> @observed:Pair(0x67fd5084c1da4adc13317822045bb11f/compose.Frame<S, Store, R, E>, Pair(0x67fd5084c1da4adc13317822045bb11f/transaction.Outcome<U>, Out)) -> Pair(0x67fd5084c1da4adc13317822045bb11f/transaction.Tx<0x67fd5084c1da4adc13317822045bb11f/world.World<S, Store, R, E>, E>, Pair(0x67fd5084c1da4adc13317822045bb11f/transaction.Outcome<0x67fd5084c1da4adc13317822045bb11f/compose.Error<U>>, List<&2, Out>))

template selected source · line 44 · raw

@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Ops:(@_:Type -> Type) -> @-H:Type -> @-A:Data -> @-U:Data -> @-Out:Data -> @-plan:Plan<S, Store, R, E, Ops, H> -> @-body:(@-H:Type -> @-caps:Ops(H) -> @_:A -> @_:H -> Pair(H, Pair(0x67fd5084c1da4adc13317822045bb11f/transaction.Outcome<U>, Out))) -> @args:A -> @next:(@_:0x67fd5084c1da4adc13317822045bb11f/transaction.Tx<0x67fd5084c1da4adc13317822045bb11f/world.World<S, Store, R, E>, E> -> Pair(0x67fd5084c1da4adc13317822045bb11f/transaction.Tx<0x67fd5084c1da4adc13317822045bb11f/world.World<S, Store, R, E>, E>, Pair(0x67fd5084c1da4adc13317822045bb11f/transaction.Outcome<0x67fd5084c1da4adc13317822045bb11f/compose.Error<U>>, List<&2, Out>))) -> @observed:Pair(0x67fd5084c1da4adc13317822045bb11f/compose.Frame<S, Store, R, E>, Bool) -> Pair(0x67fd5084c1da4adc13317822045bb11f/transaction.Tx<0x67fd5084c1da4adc13317822045bb11f/world.World<S, Store, R, E>, E>, Pair(0x67fd5084c1da4adc13317822045bb11f/transaction.Outcome<0x67fd5084c1da4adc13317822045bb11f/compose.Error<U>>, List<&2, Out>))

template run_handles source · line 48 · raw

@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Ops:(@_:Type -> Type) -> @-H:Type -> @-A:Data -> @-U:Data -> @-Out:Data -> @-plan:Plan<S, Store, R, E, Ops, H> -> @-body:(@-H:Type -> @-caps:Ops(H) -> @_:A -> @_:H -> Pair(H, Pair(0x67fd5084c1da4adc13317822045bb11f/transaction.Outcome<U>, Out))) -> @handles:List<&2, 0x67fd5084c1da4adc13317822045bb11f/world.Handle<S>> -> @+args:A -> @+cursor:Maybe<&2, 0x67fd5084c1da4adc13317822045bb11f/change_tick.Tick> -> @tx:0x67fd5084c1da4adc13317822045bb11f/transaction.Tx<0x67fd5084c1da4adc13317822045bb11f/world.World<S, Store, R, E>, E> -> Pair(0x67fd5084c1da4adc13317822045bb11f/transaction.Tx<0x67fd5084c1da4adc13317822045bb11f/world.World<S, Store, R, E>, E>, Pair(0x67fd5084c1da4adc13317822045bb11f/transaction.Outcome<0x67fd5084c1da4adc13317822045bb11f/compose.Error<U>>, List<&2, Out>))

template finish_returned source · line 52 · raw

@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-U:Data -> @-Out:Data -> @values:List<&2, Out> -> @returned:0x67fd5084c1da4adc13317822045bb11f/transaction.Returned<0x67fd5084c1da4adc13317822045bb11f/world.World<S, Store, R, E>, 0x67fd5084c1da4adc13317822045bb11f/compose.Error<U>> -> 0x67fd5084c1da4adc13317822045bb11f/compose.Executed<0x67fd5084c1da4adc13317822045bb11f/world.World<S, Store, R, E>, 0x67fd5084c1da4adc13317822045bb11f/compose.Error<U>, Out>

template finished source · line 56 · raw

@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-U:Data -> @-Out:Data -> @observed:Pair(0x67fd5084c1da4adc13317822045bb11f/transaction.Tx<0x67fd5084c1da4adc13317822045bb11f/world.World<S, Store, R, E>, E>, Pair(0x67fd5084c1da4adc13317822045bb11f/transaction.Outcome<0x67fd5084c1da4adc13317822045bb11f/compose.Error<U>>, List<&2, Out>)) -> 0x67fd5084c1da4adc13317822045bb11f/compose.Executed<0x67fd5084c1da4adc13317822045bb11f/world.World<S, Store, R, E>, 0x67fd5084c1da4adc13317822045bb11f/compose.Error<U>, Out>

template scope_finished source · line 59 · raw

@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-U:Data -> @-Out:Data -> @owned:Bool -> @result:0x67fd5084c1da4adc13317822045bb11f/compose.Executed<0x67fd5084c1da4adc13317822045bb11f/world.World<S, Store, R, E>, 0x67fd5084c1da4adc13317822045bb11f/compose.Error<U>, Out> -> 0x67fd5084c1da4adc13317822045bb11f/compose.Executed<0x67fd5084c1da4adc13317822045bb11f/world.World<S, Store, R, E>, 0x67fd5084c1da4adc13317822045bb11f/compose.Error<U>, Out>

template reserved_inner source · line 62 · raw

@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Ops:(@_:Type -> Type) -> @-H:Type -> @-A:Data -> @-U:Data -> @-Out:Data -> @-plan:Plan<S, Store, R, E, Ops, H> -> @-body:(@-H:Type -> @-caps:Ops(H) -> @_:A -> @_:H -> Pair(H, Pair(0x67fd5084c1da4adc13317822045bb11f/transaction.Outcome<U>, Out))) -> @args:A -> @cursor:Maybe<&2, 0x67fd5084c1da4adc13317822045bb11f/change_tick.Tick> -> @observed:Pair(0x67fd5084c1da4adc13317822045bb11f/world.World<S, Store, R, E>, List<&2, 0x67fd5084c1da4adc13317822045bb11f/world.Handle<S>>) -> 0x67fd5084c1da4adc13317822045bb11f/compose.Executed<0x67fd5084c1da4adc13317822045bb11f/world.World<S, Store, R, E>, 0x67fd5084c1da4adc13317822045bb11f/compose.Error<U>, Out>

template reserved_scoped source · line 66 · raw

@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Ops:(@_:Type -> Type) -> @-H:Type -> @-A:Data -> @-U:Data -> @-Out:Data -> @-plan:Plan<S, Store, R, E, Ops, H> -> @-body:(@-H:Type -> @-caps:Ops(H) -> @_:A -> @_:H -> Pair(H, Pair(0x67fd5084c1da4adc13317822045bb11f/transaction.Outcome<U>, Out))) -> @args:A -> @cursor:Maybe<&2, 0x67fd5084c1da4adc13317822045bb11f/change_tick.Tick> -> @handles:List<&2, 0x67fd5084c1da4adc13317822045bb11f/world.Handle<S>> -> @admitted:Pair(0x67fd5084c1da4adc13317822045bb11f/world.World<S, Store, R, E>, Bool) -> 0x67fd5084c1da4adc13317822045bb11f/compose.Executed<0x67fd5084c1da4adc13317822045bb11f/world.World<S, Store, R, E>, 0x67fd5084c1da4adc13317822045bb11f/compose.Error<U>, Out>

Snapshot live handles in ascending order; deferred commands stay invisible.

template reserved source · line 69 · raw

@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Ops:(@_:Type -> Type) -> @-H:Type -> @-A:Data -> @-U:Data -> @-Out:Data -> @-plan:Plan<S, Store, R, E, Ops, H> -> @-body:(@-H:Type -> @-caps:Ops(H) -> @_:A -> @_:H -> Pair(H, Pair(0x67fd5084c1da4adc13317822045bb11f/transaction.Outcome<U>, Out))) -> @args:A -> @cursor:Maybe<&2, 0x67fd5084c1da4adc13317822045bb11f/change_tick.Tick> -> @observed:Pair(0x67fd5084c1da4adc13317822045bb11f/world.World<S, Store, R, E>, List<&2, 0x67fd5084c1da4adc13317822045bb11f/world.Handle<S>>) -> 0x67fd5084c1da4adc13317822045bb11f/compose.Executed<0x67fd5084c1da4adc13317822045bb11f/world.World<S, Store, R, E>, 0x67fd5084c1da4adc13317822045bb11f/compose.Error<U>, Out>

template each source · line 73 · raw

@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Ops:(@_:Type -> Type) -> @-H:Type -> @-A:Data -> @-U:Data -> @-Out:Data -> @-plan:Plan<S, Store, R, E, Ops, H> -> @-body:(@-H:Type -> @-caps:Ops(H) -> @_:A -> @_:H -> Pair(H, Pair(0x67fd5084c1da4adc13317822045bb11f/transaction.Outcome<U>, Out))) -> @args:A -> @world:0x67fd5084c1da4adc13317822045bb11f/world.World<S, Store, R, E> -> 0x67fd5084c1da4adc13317822045bb11f/compose.Executed<0x67fd5084c1da4adc13317822045bb11f/world.World<S, Store, R, E>, 0x67fd5084c1da4adc13317822045bb11f/compose.Error<U>, Out>

template each_since source · line 78 · raw

@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Ops:(@_:Type -> Type) -> @-H:Type -> @-A:Data -> @-U:Data -> @-Out:Data -> @-plan:Plan<S, Store, R, E, Ops, H> -> @-body:(@-H:Type -> @-caps:Ops(H) -> @_:A -> @_:H -> Pair(H, Pair(0x67fd5084c1da4adc13317822045bb11f/transaction.Outcome<U>, Out))) -> @args:A -> @world:0x67fd5084c1da4adc13317822045bb11f/world.World<S, Store, R, E> -> @cursor:Maybe<&2, 0x67fd5084c1da4adc13317822045bb11f/change_tick.Tick> -> 0x67fd5084c1da4adc13317822045bb11f/compose.Executed<0x67fd5084c1da4adc13317822045bb11f/world.World<S, Store, R, E>, 0x67fd5084c1da4adc13317822045bb11f/compose.Error<U>, Out>

Preserve explicit reader cursor in the accepted row frame.

template selected_fields source · line 82 · raw

@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Ops:(@_:Type -> Type) -> @-H:Type -> @-A:Data -> @-U:Data -> @-Out:Data -> @-caps:Ops(H) -> @-select:(@_:0x67fd5084c1da4adc13317822045bb11f/compose.Frame<S, Store, R, E> -> Pair(0x67fd5084c1da4adc13317822045bb11f/compose.Frame<S, Store, R, E>, Bool)) -> @-enter:(@_:0x67fd5084c1da4adc13317822045bb11f/compose.Frame<S, Store, R, E> -> H) -> @-leave:(@_:H -> 0x67fd5084c1da4adc13317822045bb11f/compose.Frame<S, Store, R, E>) -> @-body:(@-H:Type -> @-caps:Ops(H) -> @_:A -> @_:H -> Pair(H, Pair(0x67fd5084c1da4adc13317822045bb11f/transaction.Outcome<U>, Out))) -> @args:A -> @next:(@_:0x67fd5084c1da4adc13317822045bb11f/transaction.Tx<0x67fd5084c1da4adc13317822045bb11f/world.World<S, Store, R, E>, E> -> Pair(0x67fd5084c1da4adc13317822045bb11f/transaction.Tx<0x67fd5084c1da4adc13317822045bb11f/world.World<S, Store, R, E>, E>, Pair(0x67fd5084c1da4adc13317822045bb11f/transaction.Outcome<0x67fd5084c1da4adc13317822045bb11f/compose.Error<U>>, List<&2, Out>))) -> @observed:Pair(0x67fd5084c1da4adc13317822045bb11f/compose.Frame<S, Store, R, E>, Bool) -> Pair(0x67fd5084c1da4adc13317822045bb11f/transaction.Tx<0x67fd5084c1da4adc13317822045bb11f/world.World<S, Store, R, E>, E>, Pair(0x67fd5084c1da4adc13317822045bb11f/transaction.Outcome<0x67fd5084c1da4adc13317822045bb11f/compose.Error<U>>, List<&2, Out>))

Separate closed template fields avoid constructing runtime Plan for projections.

template run_handles_fields source · line 86 · raw

@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Ops:(@_:Type -> Type) -> @-H:Type -> @-A:Data -> @-U:Data -> @-Out:Data -> @-caps:Ops(H) -> @-select:(@_:0x67fd5084c1da4adc13317822045bb11f/compose.Frame<S, Store, R, E> -> Pair(0x67fd5084c1da4adc13317822045bb11f/compose.Frame<S, Store, R, E>, Bool)) -> @-enter:(@_:0x67fd5084c1da4adc13317822045bb11f/compose.Frame<S, Store, R, E> -> H) -> @-leave:(@_:H -> 0x67fd5084c1da4adc13317822045bb11f/compose.Frame<S, Store, R, E>) -> @-body:(@-H:Type -> @-caps:Ops(H) -> @_:A -> @_:H -> Pair(H, Pair(0x67fd5084c1da4adc13317822045bb11f/transaction.Outcome<U>, Out))) -> @handles:List<&2, 0x67fd5084c1da4adc13317822045bb11f/world.Handle<S>> -> @+args:A -> @+cursor:Maybe<&2, 0x67fd5084c1da4adc13317822045bb11f/change_tick.Tick> -> @tx:0x67fd5084c1da4adc13317822045bb11f/transaction.Tx<0x67fd5084c1da4adc13317822045bb11f/world.World<S, Store, R, E>, E> -> Pair(0x67fd5084c1da4adc13317822045bb11f/transaction.Tx<0x67fd5084c1da4adc13317822045bb11f/world.World<S, Store, R, E>, E>, Pair(0x67fd5084c1da4adc13317822045bb11f/transaction.Outcome<0x67fd5084c1da4adc13317822045bb11f/compose.Error<U>>, List<&2, Out>))

template reserved_fields_inner source · line 90 · raw

@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Ops:(@_:Type -> Type) -> @-H:Type -> @-A:Data -> @-U:Data -> @-Out:Data -> @-caps:Ops(H) -> @-select:(@_:0x67fd5084c1da4adc13317822045bb11f/compose.Frame<S, Store, R, E> -> Pair(0x67fd5084c1da4adc13317822045bb11f/compose.Frame<S, Store, R, E>, Bool)) -> @-enter:(@_:0x67fd5084c1da4adc13317822045bb11f/compose.Frame<S, Store, R, E> -> H) -> @-leave:(@_:H -> 0x67fd5084c1da4adc13317822045bb11f/compose.Frame<S, Store, R, E>) -> @-body:(@-H:Type -> @-caps:Ops(H) -> @_:A -> @_:H -> Pair(H, Pair(0x67fd5084c1da4adc13317822045bb11f/transaction.Outcome<U>, Out))) -> @args:A -> @cursor:Maybe<&2, 0x67fd5084c1da4adc13317822045bb11f/change_tick.Tick> -> @observed:Pair(0x67fd5084c1da4adc13317822045bb11f/world.World<S, Store, R, E>, List<&2, 0x67fd5084c1da4adc13317822045bb11f/world.Handle<S>>) -> 0x67fd5084c1da4adc13317822045bb11f/compose.Executed<0x67fd5084c1da4adc13317822045bb11f/world.World<S, Store, R, E>, 0x67fd5084c1da4adc13317822045bb11f/compose.Error<U>, Out>

template reserved_fields_scoped source · line 94 · raw

@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Ops:(@_:Type -> Type) -> @-H:Type -> @-A:Data -> @-U:Data -> @-Out:Data -> @-caps:Ops(H) -> @-select:(@_:0x67fd5084c1da4adc13317822045bb11f/compose.Frame<S, Store, R, E> -> Pair(0x67fd5084c1da4adc13317822045bb11f/compose.Frame<S, Store, R, E>, Bool)) -> @-enter:(@_:0x67fd5084c1da4adc13317822045bb11f/compose.Frame<S, Store, R, E> -> H) -> @-leave:(@_:H -> 0x67fd5084c1da4adc13317822045bb11f/compose.Frame<S, Store, R, E>) -> @-body:(@-H:Type -> @-caps:Ops(H) -> @_:A -> @_:H -> Pair(H, Pair(0x67fd5084c1da4adc13317822045bb11f/transaction.Outcome<U>, Out))) -> @args:A -> @cursor:Maybe<&2, 0x67fd5084c1da4adc13317822045bb11f/change_tick.Tick> -> @handles:List<&2, 0x67fd5084c1da4adc13317822045bb11f/world.Handle<S>> -> @admitted:Pair(0x67fd5084c1da4adc13317822045bb11f/world.World<S, Store, R, E>, Bool) -> 0x67fd5084c1da4adc13317822045bb11f/compose.Executed<0x67fd5084c1da4adc13317822045bb11f/world.World<S, Store, R, E>, 0x67fd5084c1da4adc13317822045bb11f/compose.Error<U>, Out>

Snapshot live handles in ascending order; deferred commands stay invisible.

template reserved_fields source · line 97 · raw

@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Ops:(@_:Type -> Type) -> @-H:Type -> @-A:Data -> @-U:Data -> @-Out:Data -> @-caps:Ops(H) -> @-select:(@_:0x67fd5084c1da4adc13317822045bb11f/compose.Frame<S, Store, R, E> -> Pair(0x67fd5084c1da4adc13317822045bb11f/compose.Frame<S, Store, R, E>, Bool)) -> @-enter:(@_:0x67fd5084c1da4adc13317822045bb11f/compose.Frame<S, Store, R, E> -> H) -> @-leave:(@_:H -> 0x67fd5084c1da4adc13317822045bb11f/compose.Frame<S, Store, R, E>) -> @-body:(@-H:Type -> @-caps:Ops(H) -> @_:A -> @_:H -> Pair(H, Pair(0x67fd5084c1da4adc13317822045bb11f/transaction.Outcome<U>, Out))) -> @args:A -> @cursor:Maybe<&2, 0x67fd5084c1da4adc13317822045bb11f/change_tick.Tick> -> @observed:Pair(0x67fd5084c1da4adc13317822045bb11f/world.World<S, Store, R, E>, List<&2, 0x67fd5084c1da4adc13317822045bb11f/world.Handle<S>>) -> 0x67fd5084c1da4adc13317822045bb11f/compose.Executed<0x67fd5084c1da4adc13317822045bb11f/world.World<S, Store, R, E>, 0x67fd5084c1da4adc13317822045bb11f/compose.Error<U>, Out>

template each_fields source · line 101 · raw

@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Ops:(@_:Type -> Type) -> @-H:Type -> @-A:Data -> @-U:Data -> @-Out:Data -> @-caps:Ops(H) -> @-select:(@_:0x67fd5084c1da4adc13317822045bb11f/compose.Frame<S, Store, R, E> -> Pair(0x67fd5084c1da4adc13317822045bb11f/compose.Frame<S, Store, R, E>, Bool)) -> @-enter:(@_:0x67fd5084c1da4adc13317822045bb11f/compose.Frame<S, Store, R, E> -> H) -> @-leave:(@_:H -> 0x67fd5084c1da4adc13317822045bb11f/compose.Frame<S, Store, R, E>) -> @-body:(@-H:Type -> @-caps:Ops(H) -> @_:A -> @_:H -> Pair(H, Pair(0x67fd5084c1da4adc13317822045bb11f/transaction.Outcome<U>, Out))) -> @args:A -> @world:0x67fd5084c1da4adc13317822045bb11f/world.World<S, Store, R, E> -> 0x67fd5084c1da4adc13317822045bb11f/compose.Executed<0x67fd5084c1da4adc13317822045bb11f/world.World<S, Store, R, E>, 0x67fd5084c1da4adc13317822045bb11f/compose.Error<U>, Out>

template each_fields_since source · line 106 · raw

@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Ops:(@_:Type -> Type) -> @-H:Type -> @-A:Data -> @-U:Data -> @-Out:Data -> @-caps:Ops(H) -> @-select:(@_:0x67fd5084c1da4adc13317822045bb11f/compose.Frame<S, Store, R, E> -> Pair(0x67fd5084c1da4adc13317822045bb11f/compose.Frame<S, Store, R, E>, Bool)) -> @-enter:(@_:0x67fd5084c1da4adc13317822045bb11f/compose.Frame<S, Store, R, E> -> H) -> @-leave:(@_:H -> 0x67fd5084c1da4adc13317822045bb11f/compose.Frame<S, Store, R, E>) -> @-body:(@-H:Type -> @-caps:Ops(H) -> @_:A -> @_:H -> Pair(H, Pair(0x67fd5084c1da4adc13317822045bb11f/transaction.Outcome<U>, Out))) -> @args:A -> @world:0x67fd5084c1da4adc13317822045bb11f/world.World<S, Store, R, E> -> @cursor:Maybe<&2, 0x67fd5084c1da4adc13317822045bb11f/change_tick.Tick> -> 0x67fd5084c1da4adc13317822045bb11f/compose.Executed<0x67fd5084c1da4adc13317822045bb11f/world.World<S, Store, R, E>, 0x67fd5084c1da4adc13317822045bb11f/compose.Error<U>, Out>

Preserve explicit reader cursor in the accepted row frame.