component.bend checks
raw source on the hub · import bendvy-ecs-core@0.1.0.6/component.bend as Component
12 imports
import Base import ./change_tick.bend as Tick import ./clock_state.bend as Clock import ./deferred_command.bend as Deferred import ./entity_key_render.bend as KeyRender import ./trace_facts.bend as TraceFacts import lifecycle.bend as L import column.bend as Col import world.bend as W import transaction.bend as T import entity_key.bend as K import entity_allocator.bend as A
Types
type Family source · line 19 · raw
@-S:Data -> @-Store:Type -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> Data
Caller-authored schema lenses are trusted provisioning. The gameplay callback receives only universally quantified provider handles, never these owners. Trusted schema provisioning for one component column and detached Data view V. take/put must return the actual affine storage owners; project returns C with V. The nominal Token distinguishes families; the display name is not access proof.
Family@-S:Data -> @-Store:Type -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @name:String -> Family<S, Store, Rest, C, V, Token, take, put, project>
type Access source · line 23 · raw
@V:Data -> Data
Detached read result: Found holds V, ComponentAbsent means a valid entity lacks this component, and MissingEntity covers invalid, stale or foreign handles.
Found@V:Data -> @value:V -> Access<V>
ComponentAbsent@V:Data -> Access<V>
MissingEntity@V:Data -> Access<V>
type Replacement source · line 30 · raw
@W:Type -> @C:Type -> Type
Immediate replacement result retaining World in every branch. Replaced returns the displaced actual payload owner; rejection returns the incoming optional owner and error. Neither Type payload is copied into detached observation data.
Replaced@W:Type -> @C:Type -> @world:W -> @previous:Maybe<&1, C> -> Replacement<W, C>
ReplaceRejected@W:Type -> @C:Type -> @world:W -> @incoming:Maybe<&1, C> -> @error:0x14a72e1c180a5ab1f8a056d43822425c/world.WorldError -> Replacement<W, C>
type Swap source · line 35 · raw
@C:Type -> Type
Internal storage-adapter result carrying the displaced or rejected owner. It is not a handle-validation result or a gameplay capability.
Swapped@C:Type -> @previous:Maybe<&1, C> -> Swap<C>
SwapRejected@C:Type -> @incoming:Maybe<&1, C> -> Swap<C>
type SetResult source · line 41 · raw
@Tx:Type -> @C:Type -> Type
Transactional write result. Written retains the Tx with its inverse journal; WriteRejected additionally returns the actual incoming C. WriteFailure has no incoming owner. These results do not themselves commit or finish the transaction.
Written@Tx:Type -> @C:Type -> @tx:Tx -> SetResult<Tx, C>
WriteRejected@Tx:Type -> @C:Type -> @tx:Tx -> @incoming:C -> @error:0x14a72e1c180a5ab1f8a056d43822425c/world.WorldError -> SetResult<Tx, C>
WriteFailure@Tx:Type -> @C:Type -> @tx:Tx -> @error:0x14a72e1c180a5ab1f8a056d43822425c/world.WorldError -> SetResult<Tx, C>
type RemoveResult source · line 47 · raw
@Tx:Type -> Type
Transactional removal result retaining Tx on success or refusal. The removed payload remains in the inverse journal for rollback rather than being returned.
Removed@Tx:Type -> @tx:Tx -> RemoveResult<Tx>
RemoveRejected@Tx:Type -> @tx:Tx -> @error:0x14a72e1c180a5ab1f8a056d43822425c/world.WorldError -> RemoveResult<Tx>
Definitions
def trace_error source · line 259 · raw
@error:0x14a72e1c180a5ab1f8a056d43822425c/world.WorldError -> String
Templates
template define source · line 54 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @name:String -> Family<S, Store, Rest, C, V, Token, take, put, project>
Define trusted column/projection plumbing for this family. This does not insert a component, validate an entity or register a gameplay system. Ordinary declaration providers expose only the appropriate opaque-owner capabilities to gameplay.
template access source · line 57 · raw
@-V:Data -> @value:Maybe<&2, V> -> Access<V>
template get_projected source · line 62 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @rest:Rest -> @observed:Pair(0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C>, Maybe<&2, V>) -> Pair(Store, Access<V>)
template get_store source · line 66 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @+id:U32 -> @split:Pair(Rest, 0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C>) -> Pair(Store, Access<V>)
template get_world source · line 70 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @+id:U32 -> @world:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, Store, R, E> -> Pair(0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, Store, R, E>, Access<V>)
template get_allowed source · line 75 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @checked:Pair(0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, Store, R, E>, Bool) -> @+handle:0x14a72e1c180a5ab1f8a056d43822425c/world.Handle<S> -> Pair(0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, Store, R, E>, Access<V>)
template get_checked_fields source · line 81 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @checked:Pair(0x14a72e1c180a5ab1f8a056d43822425c/entity_allocator.Allocator, Bool) -> @key:0x14a72e1c180a5ab1f8a056d43822425c/entity_key.Key -> @namespace:U32 -> @store:Store -> @resource:R -> @events:List<&2, E> -> @pending:List<&1, 0x14a72e1c180a5ab1f8a056d43822425c/deferred_command.Command<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, Store, R, E>>> -> @registrations:List<&2, 0x14a72e1c180a5ab1f8a056d43822425c/world.RegistrationMeta> -> @nextSystemId:U32 -> @clock:0x14a72e1c180a5ab1f8a056d43822425c/clock_state.State -> Pair(0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, Store, R, E>, Access<V>)
template get_namespace_fields source · line 87 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @allowed:Bool -> @+key:0x14a72e1c180a5ab1f8a056d43822425c/entity_key.Key -> @allocator:0x14a72e1c180a5ab1f8a056d43822425c/entity_allocator.Allocator -> @namespace:U32 -> @store:Store -> @resource:R -> @events:List<&2, E> -> @pending:List<&1, 0x14a72e1c180a5ab1f8a056d43822425c/deferred_command.Command<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, Store, R, E>>> -> @registrations:List<&2, 0x14a72e1c180a5ab1f8a056d43822425c/world.RegistrationMeta> -> @nextSystemId:U32 -> @clock:0x14a72e1c180a5ab1f8a056d43822425c/clock_state.State -> Pair(0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, Store, R, E>, Access<V>)
template get source · line 96 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @family:Family<S, Store, Rest, C, V, Token, take, put, project> -> @world:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, Store, R, E> -> @+handle:0x14a72e1c180a5ab1f8a056d43822425c/world.Handle<S> -> Pair(0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, Store, R, E>, Access<V>)
Read a detached view while returning World and the actual projected payload to its column. Validate namespace, generation and live state before column access; invalid/stale/foreign handles yield MissingEntity, not ComponentAbsent. See examples/health-decay/schema.bend for family provisioning.
template has_access source · line 101 · raw
@-V:Data -> @value:Access<V> -> Access<Bool>
template has_join source · line 107 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @observed:Pair(0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, Store, R, E>, Access<V>) -> Pair(0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, Store, R, E>, Access<Bool>)
template has source · line 114 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @family:Family<S, Store, Rest, C, V, Token, take, put, project> -> @world:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, Store, R, E> -> @handle:0x14a72e1c180a5ab1f8a056d43822425c/world.Handle<S> -> Pair(0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, Store, R, E>, Access<Bool>)
Return presence as Found(Bool), preserving MissingEntity for invalid handles. This delegates to get, so the configured projection is evaluated on a present payload; it is not a projection-free raw occupancy query.
template owner_present source · line 117 · raw
@-C:Type -> @owner:Maybe<&1, C> -> Pair(Maybe<&1, C>, Bool)
template mark_swapped source · line 122 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @rest:Rest -> @column:0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C> -> @+id:U32 -> @incoming:Bool -> @tick:0x14a72e1c180a5ab1f8a056d43822425c/change_tick.Tick -> @observed:Pair(Maybe<&1, C>, Bool) -> Pair(Store, Swap<C>)
template swap_join source · line 126 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @rest:Rest -> @+id:U32 -> @incoming:Bool -> @tick:0x14a72e1c180a5ab1f8a056d43822425c/change_tick.Tick -> @result:0x14a72e1c180a5ab1f8a056d43822425c/column.SwapOutcome<S, C> -> Pair(Store, Swap<C>)
template swap_store source · line 131 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @+id:U32 -> @incoming:Maybe<&1, C> -> @incomingPresent:Bool -> @tick:0x14a72e1c180a5ab1f8a056d43822425c/change_tick.Tick -> @split:Pair(Rest, 0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C>) -> Pair(Store, Swap<C>)
template swap_world source · line 135 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @+id:U32 -> @incoming:Maybe<&1, C> -> @incomingPresent:Bool -> @tick:0x14a72e1c180a5ab1f8a056d43822425c/change_tick.Tick -> @world:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, Store, R, E> -> Pair(0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, Store, R, E>, Swap<C>)
template replaced source · line 140 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @result:Pair(0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, Store, R, E>, Swap<C>) -> Replacement<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, Store, R, E>, C>
template replace_clock_advanced source · line 145 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @+id:U32 -> @incomingPresent:Bool -> @incoming:Maybe<&1, C> -> @advanced:Pair(0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, Store, R, E>, 0x14a72e1c180a5ab1f8a056d43822425c/change_tick.Tick) -> Replacement<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, Store, R, E>, C>
template replace_present source · line 149 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @world:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, Store, R, E> -> @id:U32 -> @observed:Pair(Maybe<&1, C>, Bool) -> Replacement<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, Store, R, E>, C>
template replace_allowed source · line 153 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @checked:Pair(0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, Store, R, E>, Bool) -> @+handle:0x14a72e1c180a5ab1f8a056d43822425c/world.Handle<S> -> @incoming:Maybe<&1, C> -> Replacement<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, Store, R, E>, C>
template replace source · line 164 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @family:Family<S, Store, Rest, C, V, Token, take, put, project> -> @world:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, Store, R, E> -> @+handle:0x14a72e1c180a5ab1f8a056d43822425c/world.Handle<S> -> @incoming:Maybe<&1, C> -> Replacement<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, Store, R, E>, C>
Ordinary writes require a live entity. Foreign handles are rejected before any column access, size computation, allocation or owned replacement move. Immediately insert/replace with Some(C), or remove with None, on a live handle. Return displaced C on success and incoming C on rejection; capacity errors remain explicit. This operation is not deferred and has no automatic undo journal.
template structural_replace source · line 172 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @family:Family<S, Store, Rest, C, V, Token, take, put, project> -> @world:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, Store, R, E> -> @+handle:0x14a72e1c180a5ab1f8a056d43822425c/world.Handle<S> -> @incoming:Maybe<&1, C> -> Replacement<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, Store, R, E>, C>
Deferred creation may populate reserved entities before activation. This is provisioning/structural command machinery, not a gameplay capability. Trusted structural adapter permitting metadata-valid reserved entities as well as live ones. Retains replacement owners/results like replace; this is not a public gameplay bypass for accessing an arbitrary inactive entity.
template restore_done source · line 175 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @result:Replacement<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, Store, R, E>, C> -> 0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, Store, R, E>
template restore_swap source · line 182 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @rest:Rest -> @result:0x14a72e1c180a5ab1f8a056d43822425c/column.SwapOutcome<S, C> -> Pair(Store, Unit)
Inverse closures own their old component, not a copied payload. Replaying drops the replaced current owner exactly once and restores the journal owner.
template restore_store source · line 187 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @+id:U32 -> @incoming:Maybe<&1, C> -> @split:Pair(Rest, 0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C>) -> Pair(Store, Unit)
template restore_world source · line 191 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @+id:U32 -> @incoming:Maybe<&1, C> -> @world:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, Store, R, E> -> Pair(0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, Store, R, E>, Unit)
template restore_observed source · line 196 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @observed:Pair(0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, Store, R, E>, Unit) -> 0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, Store, R, E>
template restore_allowed source · line 200 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @checked:Pair(0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, Store, R, E>, Bool) -> @handle:0x14a72e1c180a5ab1f8a056d43822425c/world.Handle<S> -> @incoming:Maybe<&1, C> -> 0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, Store, R, E>
template restore source · line 205 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @family:Family<S, Store, Rest, C, V, Token, take, put, project> -> @+handle:0x14a72e1c180a5ab1f8a056d43822425c/world.Handle<S> -> @incoming:Maybe<&1, C> -> @world:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, Store, R, E> -> 0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, Store, R, E>
template lifecycle_join source · line 208 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @rest:Rest -> @observed:Pair(0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C>, 0x14a72e1c180a5ab1f8a056d43822425c/lifecycle.Stamp) -> Pair(Store, 0x14a72e1c180a5ab1f8a056d43822425c/lifecycle.Stamp)
template lifecycle_store source · line 212 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @+id:U32 -> @split:Pair(Rest, 0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C>) -> Pair(Store, 0x14a72e1c180a5ab1f8a056d43822425c/lifecycle.Stamp)
template lifecycle_world source · line 216 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @+id:U32 -> @world:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, Store, R, E> -> Pair(0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, Store, R, E>, 0x14a72e1c180a5ab1f8a056d43822425c/lifecycle.Stamp)
template lifecycle_allowed source · line 221 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @checked:Pair(0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, Store, R, E>, Bool) -> @handle:0x14a72e1c180a5ab1f8a056d43822425c/world.Handle<S> -> Pair(0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, Store, R, E>, 0x14a72e1c180a5ab1f8a056d43822425c/lifecycle.Stamp)
template lifecycle source · line 228 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @family:Family<S, Store, Rest, C, V, Token, take, put, project> -> @world:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, Store, R, E> -> @+handle:0x14a72e1c180a5ab1f8a056d43822425c/world.Handle<S> -> Pair(0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, Store, R, E>, 0x14a72e1c180a5ab1f8a056d43822425c/lifecycle.Stamp)
Read this component slot's lifecycle stamp while returning World. Invalid live handle validation yields Stamp(None,None); no detached component payload is returned.
template restore_stamp_store source · line 231 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @+id:U32 -> @stamp:0x14a72e1c180a5ab1f8a056d43822425c/lifecycle.Stamp -> @split:Pair(Rest, 0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C>) -> Pair(Store, Unit)
template restore_stamp_world source · line 235 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @+id:U32 -> @stamp:0x14a72e1c180a5ab1f8a056d43822425c/lifecycle.Stamp -> @world:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, Store, R, E> -> Pair(0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, Store, R, E>, Unit)
template restore_stamp_done source · line 240 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @observed:Pair(0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, Store, R, E>, Unit) -> 0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, Store, R, E>
template restore_stamp source · line 244 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @+handle:0x14a72e1c180a5ab1f8a056d43822425c/world.Handle<S> -> @stamp:0x14a72e1c180a5ab1f8a056d43822425c/lifecycle.Stamp -> @world:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, Store, R, E> -> 0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, Store, R, E>
template tx_get_join source · line 248 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @undo:List<&1, @_:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, Store, R, E> -> 0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, Store, R, E>> -> @commands:List<&1, 0x14a72e1c180a5ab1f8a056d43822425c/deferred_command.Command<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, Store, R, E>>> -> @events:List<&2, E> -> @trace:0x14a72e1c180a5ab1f8a056d43822425c/trace_facts.State -> @observed:Pair(0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, Store, R, E>, Access<V>) -> Pair(0x14a72e1c180a5ab1f8a056d43822425c/transaction.Tx<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, Store, R, E>, E>, Access<V>)
template tx_get source · line 254 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @family:Family<S, Store, Rest, C, V, Token, take, put, project> -> @tx:0x14a72e1c180a5ab1f8a056d43822425c/transaction.Tx<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, Store, R, E>, E> -> @handle:0x14a72e1c180a5ab1f8a056d43822425c/world.Handle<S> -> Pair(0x14a72e1c180a5ab1f8a056d43822425c/transaction.Tx<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, Store, R, E>, E>, Access<V>)
Read through the current Tx World, preserving its journal, commands, events and trace. Returns the same Access distinctions as get; reads do not finish the Tx.
template trace_handle source · line 265 · raw
@-S:Data -> @handle:0x14a72e1c180a5ab1f8a056d43822425c/world.Handle<S> -> String
template trace_write source · line 268 · raw
@-S:Data -> @state:0x14a72e1c180a5ab1f8a056d43822425c/trace_facts.State -> @name:String -> @handle:0x14a72e1c180a5ab1f8a056d43822425c/world.Handle<S> -> @result:0x14a72e1c180a5ab1f8a056d43822425c/trace_facts.FactResult -> 0x14a72e1c180a5ab1f8a056d43822425c/trace_facts.State
template trace_refusal source · line 272 · raw
@-S:Data -> @state:0x14a72e1c180a5ab1f8a056d43822425c/trace_facts.State -> @name:String -> @handle:0x14a72e1c180a5ab1f8a056d43822425c/world.Handle<S> -> @error:0x14a72e1c180a5ab1f8a056d43822425c/world.WorldError -> 0x14a72e1c180a5ab1f8a056d43822425c/trace_facts.State
template family_name source · line 276 · raw
@-S:Data -> @-Store:Type -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @family:Family<S, Store, Rest, C, V, Token, take, put, project> -> String
template tx_written source · line 279 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @+family:Family<S, Store, Rest, C, V, Token, take, put, project> -> @+handle:0x14a72e1c180a5ab1f8a056d43822425c/world.Handle<S> -> @undo:List<&1, @_:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, Store, R, E> -> 0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, Store, R, E>> -> @commands:List<&1, 0x14a72e1c180a5ab1f8a056d43822425c/deferred_command.Command<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, Store, R, E>>> -> @events:List<&2, E> -> @trace:0x14a72e1c180a5ab1f8a056d43822425c/trace_facts.State -> @+stamp:0x14a72e1c180a5ab1f8a056d43822425c/lifecycle.Stamp -> @result:Replacement<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, Store, R, E>, C> -> SetResult<0x14a72e1c180a5ab1f8a056d43822425c/transaction.Tx<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, Store, R, E>, E>, C>
template tx_set_stamped source · line 288 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @+family:Family<S, Store, Rest, C, V, Token, take, put, project> -> @+handle:0x14a72e1c180a5ab1f8a056d43822425c/world.Handle<S> -> @undo:List<&1, @_:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, Store, R, E> -> 0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, Store, R, E>> -> @commands:List<&1, 0x14a72e1c180a5ab1f8a056d43822425c/deferred_command.Command<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, Store, R, E>>> -> @events:List<&2, E> -> @trace:0x14a72e1c180a5ab1f8a056d43822425c/trace_facts.State -> @incoming:C -> @observed:Pair(0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, Store, R, E>, 0x14a72e1c180a5ab1f8a056d43822425c/lifecycle.Stamp) -> SetResult<0x14a72e1c180a5ab1f8a056d43822425c/transaction.Tx<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, Store, R, E>, E>, C>
template stamped_store_join source · line 292 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @stamp:0x14a72e1c180a5ab1f8a056d43822425c/lifecycle.Stamp -> @result:Pair(Store, Swap<C>) -> Pair(Store, Pair(Swap<C>, 0x14a72e1c180a5ab1f8a056d43822425c/lifecycle.Stamp))
template stamped_column source · line 296 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @rest:Rest -> @+id:U32 -> @incoming:C -> @+tick:0x14a72e1c180a5ab1f8a056d43822425c/change_tick.Tick -> @allowed:Bool -> @observed:Pair(0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C>, 0x14a72e1c180a5ab1f8a056d43822425c/lifecycle.Stamp) -> Pair(Store, Pair(Swap<C>, 0x14a72e1c180a5ab1f8a056d43822425c/lifecycle.Stamp))
template stamped_store source · line 301 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @+id:U32 -> @incoming:C -> @+tick:0x14a72e1c180a5ab1f8a056d43822425c/change_tick.Tick -> @allowed:Bool -> @split:Pair(Rest, 0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C>) -> Pair(Store, Pair(Swap<C>, 0x14a72e1c180a5ab1f8a056d43822425c/lifecycle.Stamp))
template stamped_replaced source · line 305 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @observed:Pair(0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, Store, R, E>, Pair(Swap<C>, 0x14a72e1c180a5ab1f8a056d43822425c/lifecycle.Stamp)) -> Pair(Replacement<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, Store, R, E>, C>, 0x14a72e1c180a5ab1f8a056d43822425c/lifecycle.Stamp)
template stamped_clocked source · line 310 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @world:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, Store, R, E> -> @id:U32 -> @incoming:C -> @tick:0x14a72e1c180a5ab1f8a056d43822425c/change_tick.Tick -> Pair(Replacement<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, Store, R, E>, C>, 0x14a72e1c180a5ab1f8a056d43822425c/lifecycle.Stamp)
template stamped_advanced source · line 315 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @id:U32 -> @incoming:C -> @advanced:Pair(0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, Store, R, E>, 0x14a72e1c180a5ab1f8a056d43822425c/change_tick.Tick) -> Pair(Replacement<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, Store, R, E>, C>, 0x14a72e1c180a5ab1f8a056d43822425c/lifecycle.Stamp)
template stamped_world source · line 319 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @id:U32 -> @incoming:C -> @world:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, Store, R, E> -> Pair(Replacement<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, Store, R, E>, C>, 0x14a72e1c180a5ab1f8a056d43822425c/lifecycle.Stamp)
template stamped_allowed source · line 322 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @checked:Pair(0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, Store, R, E>, Bool) -> @handle:0x14a72e1c180a5ab1f8a056d43822425c/world.Handle<S> -> @incoming:C -> Pair(Replacement<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, Store, R, E>, C>, 0x14a72e1c180a5ab1f8a056d43822425c/lifecycle.Stamp)
template tx_set_fused source · line 327 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @+family:Family<S, Store, Rest, C, V, Token, take, put, project> -> @+handle:0x14a72e1c180a5ab1f8a056d43822425c/world.Handle<S> -> @undo:List<&1, @_:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, Store, R, E> -> 0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, Store, R, E>> -> @commands:List<&1, 0x14a72e1c180a5ab1f8a056d43822425c/deferred_command.Command<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, Store, R, E>>> -> @events:List<&2, E> -> @trace:0x14a72e1c180a5ab1f8a056d43822425c/trace_facts.State -> @observed:Pair(Replacement<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, Store, R, E>, C>, 0x14a72e1c180a5ab1f8a056d43822425c/lifecycle.Stamp) -> SetResult<0x14a72e1c180a5ab1f8a056d43822425c/transaction.Tx<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, Store, R, E>, E>, C>
template tx_set source · line 336 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @+family:Family<S, Store, Rest, C, V, Token, take, put, project> -> @tx:0x14a72e1c180a5ab1f8a056d43822425c/transaction.Tx<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, Store, R, E>, E> -> @+handle:0x14a72e1c180a5ab1f8a056d43822425c/world.Handle<S> -> @incoming:C -> SetResult<0x14a72e1c180a5ab1f8a056d43822425c/transaction.Tx<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, Store, R, E>, E>, C>
Write an actual possibly-affine Type payload into the current Tx World and journal the old payload and stamp for rollback. Successful writes are visible within this Tx immediately; finish decides commit versus inverse replay. Refusal returns the incoming owner through WriteRejected. Ordinary rollback is not a receipt returning every newly written payload; use explicit recovery APIs for that.
template tx_removed source · line 341 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @+family:Family<S, Store, Rest, C, V, Token, take, put, project> -> @+handle:0x14a72e1c180a5ab1f8a056d43822425c/world.Handle<S> -> @undo:List<&1, @_:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, Store, R, E> -> 0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, Store, R, E>> -> @commands:List<&1, 0x14a72e1c180a5ab1f8a056d43822425c/deferred_command.Command<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, Store, R, E>>> -> @events:List<&2, E> -> @trace:0x14a72e1c180a5ab1f8a056d43822425c/trace_facts.State -> @+stamp:0x14a72e1c180a5ab1f8a056d43822425c/lifecycle.Stamp -> @result:Replacement<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, Store, R, E>, C> -> RemoveResult<0x14a72e1c180a5ab1f8a056d43822425c/transaction.Tx<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, Store, R, E>, E>>
template tx_remove_stamped source · line 348 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @+family:Family<S, Store, Rest, C, V, Token, take, put, project> -> @+handle:0x14a72e1c180a5ab1f8a056d43822425c/world.Handle<S> -> @undo:List<&1, @_:0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, Store, R, E> -> 0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, Store, R, E>> -> @commands:List<&1, 0x14a72e1c180a5ab1f8a056d43822425c/deferred_command.Command<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, Store, R, E>>> -> @events:List<&2, E> -> @trace:0x14a72e1c180a5ab1f8a056d43822425c/trace_facts.State -> @observed:Pair(0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, Store, R, E>, 0x14a72e1c180a5ab1f8a056d43822425c/lifecycle.Stamp) -> RemoveResult<0x14a72e1c180a5ab1f8a056d43822425c/transaction.Tx<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, Store, R, E>, E>>
template tx_remove source · line 355 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @+family:Family<S, Store, Rest, C, V, Token, take, put, project> -> @tx:0x14a72e1c180a5ab1f8a056d43822425c/transaction.Tx<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, Store, R, E>, E> -> @+handle:0x14a72e1c180a5ab1f8a056d43822425c/world.Handle<S> -> RemoveResult<0x14a72e1c180a5ab1f8a056d43822425c/transaction.Tx<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, Store, R, E>, E>>
Remove from a live entity within Tx, journaling the previous owner/stamp for rollback. Removing an already absent component can succeed; invalid handles or capacity refusal return RemoveRejected. Finish is still the caller's choice.
template displayed_access source · line 360 · raw
@-V:Data -> @-display:(@_:V -> String) -> @value:Access<V> -> 0x14a72e1c180a5ab1f8a056d43822425c/trace_facts.Value
template displayed_written source · line 365 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @before:0x14a72e1c180a5ab1f8a056d43822425c/trace_facts.Value -> @after:0x14a72e1c180a5ab1f8a056d43822425c/trace_facts.Value -> @result:SetResult<0x14a72e1c180a5ab1f8a056d43822425c/transaction.Tx<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, Store, R, E>, E>, C> -> SetResult<0x14a72e1c180a5ab1f8a056d43822425c/transaction.Tx<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, Store, R, E>, E>, C>
template displayed_viewed source · line 370 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @-display:(@_:V -> String) -> @family:Family<S, Store, Rest, C, V, Token, take, put, project> -> @handle:0x14a72e1c180a5ab1f8a056d43822425c/world.Handle<S> -> @incoming:Pair(C, V) -> @observed:Pair(0x14a72e1c180a5ab1f8a056d43822425c/transaction.Tx<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, Store, R, E>, E>, Access<V>) -> SetResult<0x14a72e1c180a5ab1f8a056d43822425c/transaction.Tx<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, Store, R, E>, E>, C>
template displayed_enabled source · line 373 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @-display:(@_:V -> String) -> @+family:Family<S, Store, Rest, C, V, Token, take, put, project> -> @+handle:0x14a72e1c180a5ab1f8a056d43822425c/world.Handle<S> -> @incoming:C -> @observed:Pair(0x14a72e1c180a5ab1f8a056d43822425c/transaction.Tx<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, Store, R, E>, E>, Bool) -> SetResult<0x14a72e1c180a5ab1f8a056d43822425c/transaction.Tx<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, Store, R, E>, E>, C>
template tx_set_displayed source · line 381 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0x14a72e1c180a5ab1f8a056d43822425c/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @-display:(@_:V -> String) -> @family:Family<S, Store, Rest, C, V, Token, take, put, project> -> @tx:0x14a72e1c180a5ab1f8a056d43822425c/transaction.Tx<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, Store, R, E>, E> -> @handle:0x14a72e1c180a5ab1f8a056d43822425c/world.Handle<S> -> @incoming:C -> SetResult<0x14a72e1c180a5ab1f8a056d43822425c/transaction.Tx<0x14a72e1c180a5ab1f8a056d43822425c/world.World<S, Store, R, E>, E>, C>
Trace-aware tx_set: when tracing is enabled, project the current and incoming values and render detached V strings to annotate the attempted write/refusal. Disabled tracing delegates directly without these presentation reads. Ownership and write results remain those of tx_set; project/display are trusted adapters.