component.bend checks
raw source on the hub · import bendvy-ecs-core@0.1.0.1/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, 0xf435da9e535b3846d643dad16580e35f/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0xf435da9e535b3846d643dad16580e35f/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, 0xf435da9e535b3846d643dad16580e35f/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0xf435da9e535b3846d643dad16580e35f/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:0xf435da9e535b3846d643dad16580e35f/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:0xf435da9e535b3846d643dad16580e35f/world.WorldError -> SetResult<Tx, C>
WriteFailure@Tx:Type -> @C:Type -> @tx:Tx -> @error:0xf435da9e535b3846d643dad16580e35f/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:0xf435da9e535b3846d643dad16580e35f/world.WorldError -> RemoveResult<Tx>
Definitions
def trace_error source · line 246 · raw
@error:0xf435da9e535b3846d643dad16580e35f/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, 0xf435da9e535b3846d643dad16580e35f/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0xf435da9e535b3846d643dad16580e35f/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, 0xf435da9e535b3846d643dad16580e35f/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0xf435da9e535b3846d643dad16580e35f/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @rest:Rest -> @observed:Pair(0xf435da9e535b3846d643dad16580e35f/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, 0xf435da9e535b3846d643dad16580e35f/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0xf435da9e535b3846d643dad16580e35f/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @+id:U32 -> @split:Pair(Rest, 0xf435da9e535b3846d643dad16580e35f/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, 0xf435da9e535b3846d643dad16580e35f/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0xf435da9e535b3846d643dad16580e35f/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @+id:U32 -> @world:0xf435da9e535b3846d643dad16580e35f/world.World<S, Store, R, E> -> Pair(0xf435da9e535b3846d643dad16580e35f/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, 0xf435da9e535b3846d643dad16580e35f/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0xf435da9e535b3846d643dad16580e35f/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @checked:Pair(0xf435da9e535b3846d643dad16580e35f/world.World<S, Store, R, E>, Bool) -> @+handle:0xf435da9e535b3846d643dad16580e35f/world.Handle<S> -> Pair(0xf435da9e535b3846d643dad16580e35f/world.World<S, Store, R, E>, Access<V>)
template get source · line 85 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0xf435da9e535b3846d643dad16580e35f/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0xf435da9e535b3846d643dad16580e35f/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @family:Family<S, Store, Rest, C, V, Token, take, put, project> -> @world:0xf435da9e535b3846d643dad16580e35f/world.World<S, Store, R, E> -> @+handle:0xf435da9e535b3846d643dad16580e35f/world.Handle<S> -> Pair(0xf435da9e535b3846d643dad16580e35f/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 88 · raw
@-V:Data -> @value:Access<V> -> Access<Bool>
template has_join source · line 94 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0xf435da9e535b3846d643dad16580e35f/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0xf435da9e535b3846d643dad16580e35f/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @observed:Pair(0xf435da9e535b3846d643dad16580e35f/world.World<S, Store, R, E>, Access<V>) -> Pair(0xf435da9e535b3846d643dad16580e35f/world.World<S, Store, R, E>, Access<Bool>)
template has source · line 101 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0xf435da9e535b3846d643dad16580e35f/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0xf435da9e535b3846d643dad16580e35f/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @family:Family<S, Store, Rest, C, V, Token, take, put, project> -> @world:0xf435da9e535b3846d643dad16580e35f/world.World<S, Store, R, E> -> @handle:0xf435da9e535b3846d643dad16580e35f/world.Handle<S> -> Pair(0xf435da9e535b3846d643dad16580e35f/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 104 · raw
@-C:Type -> @owner:Maybe<&1, C> -> Pair(Maybe<&1, C>, Bool)
template mark_swapped source · line 109 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0xf435da9e535b3846d643dad16580e35f/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0xf435da9e535b3846d643dad16580e35f/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @rest:Rest -> @column:0xf435da9e535b3846d643dad16580e35f/column.Column<S, C> -> @+id:U32 -> @incoming:Bool -> @tick:0xf435da9e535b3846d643dad16580e35f/change_tick.Tick -> @observed:Pair(Maybe<&1, C>, Bool) -> Pair(Store, Swap<C>)
template swap_join source · line 113 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0xf435da9e535b3846d643dad16580e35f/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0xf435da9e535b3846d643dad16580e35f/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @rest:Rest -> @+id:U32 -> @incoming:Bool -> @tick:0xf435da9e535b3846d643dad16580e35f/change_tick.Tick -> @result:0xf435da9e535b3846d643dad16580e35f/column.SwapOutcome<S, C> -> Pair(Store, Swap<C>)
template swap_store source · line 118 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0xf435da9e535b3846d643dad16580e35f/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0xf435da9e535b3846d643dad16580e35f/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @+id:U32 -> @incoming:Maybe<&1, C> -> @incomingPresent:Bool -> @tick:0xf435da9e535b3846d643dad16580e35f/change_tick.Tick -> @split:Pair(Rest, 0xf435da9e535b3846d643dad16580e35f/column.Column<S, C>) -> Pair(Store, Swap<C>)
template swap_world source · line 122 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0xf435da9e535b3846d643dad16580e35f/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0xf435da9e535b3846d643dad16580e35f/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @+id:U32 -> @incoming:Maybe<&1, C> -> @incomingPresent:Bool -> @tick:0xf435da9e535b3846d643dad16580e35f/change_tick.Tick -> @world:0xf435da9e535b3846d643dad16580e35f/world.World<S, Store, R, E> -> Pair(0xf435da9e535b3846d643dad16580e35f/world.World<S, Store, R, E>, Swap<C>)
template replaced source · line 127 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0xf435da9e535b3846d643dad16580e35f/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0xf435da9e535b3846d643dad16580e35f/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @result:Pair(0xf435da9e535b3846d643dad16580e35f/world.World<S, Store, R, E>, Swap<C>) -> Replacement<0xf435da9e535b3846d643dad16580e35f/world.World<S, Store, R, E>, C>
template replace_clock_advanced source · line 132 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0xf435da9e535b3846d643dad16580e35f/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0xf435da9e535b3846d643dad16580e35f/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @+id:U32 -> @incomingPresent:Bool -> @incoming:Maybe<&1, C> -> @advanced:Pair(0xf435da9e535b3846d643dad16580e35f/world.World<S, Store, R, E>, 0xf435da9e535b3846d643dad16580e35f/change_tick.Tick) -> Replacement<0xf435da9e535b3846d643dad16580e35f/world.World<S, Store, R, E>, C>
template replace_present source · line 136 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0xf435da9e535b3846d643dad16580e35f/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0xf435da9e535b3846d643dad16580e35f/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @world:0xf435da9e535b3846d643dad16580e35f/world.World<S, Store, R, E> -> @id:U32 -> @observed:Pair(Maybe<&1, C>, Bool) -> Replacement<0xf435da9e535b3846d643dad16580e35f/world.World<S, Store, R, E>, C>
template replace_allowed source · line 140 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0xf435da9e535b3846d643dad16580e35f/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0xf435da9e535b3846d643dad16580e35f/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @checked:Pair(0xf435da9e535b3846d643dad16580e35f/world.World<S, Store, R, E>, Bool) -> @+handle:0xf435da9e535b3846d643dad16580e35f/world.Handle<S> -> @incoming:Maybe<&1, C> -> Replacement<0xf435da9e535b3846d643dad16580e35f/world.World<S, Store, R, E>, C>
template replace source · line 151 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0xf435da9e535b3846d643dad16580e35f/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0xf435da9e535b3846d643dad16580e35f/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @family:Family<S, Store, Rest, C, V, Token, take, put, project> -> @world:0xf435da9e535b3846d643dad16580e35f/world.World<S, Store, R, E> -> @+handle:0xf435da9e535b3846d643dad16580e35f/world.Handle<S> -> @incoming:Maybe<&1, C> -> Replacement<0xf435da9e535b3846d643dad16580e35f/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 159 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0xf435da9e535b3846d643dad16580e35f/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0xf435da9e535b3846d643dad16580e35f/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @family:Family<S, Store, Rest, C, V, Token, take, put, project> -> @world:0xf435da9e535b3846d643dad16580e35f/world.World<S, Store, R, E> -> @+handle:0xf435da9e535b3846d643dad16580e35f/world.Handle<S> -> @incoming:Maybe<&1, C> -> Replacement<0xf435da9e535b3846d643dad16580e35f/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 162 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0xf435da9e535b3846d643dad16580e35f/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0xf435da9e535b3846d643dad16580e35f/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @result:Replacement<0xf435da9e535b3846d643dad16580e35f/world.World<S, Store, R, E>, C> -> 0xf435da9e535b3846d643dad16580e35f/world.World<S, Store, R, E>
template restore_swap source · line 169 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0xf435da9e535b3846d643dad16580e35f/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0xf435da9e535b3846d643dad16580e35f/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @rest:Rest -> @result:0xf435da9e535b3846d643dad16580e35f/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 174 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0xf435da9e535b3846d643dad16580e35f/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0xf435da9e535b3846d643dad16580e35f/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @+id:U32 -> @incoming:Maybe<&1, C> -> @split:Pair(Rest, 0xf435da9e535b3846d643dad16580e35f/column.Column<S, C>) -> Pair(Store, Unit)
template restore_world source · line 178 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0xf435da9e535b3846d643dad16580e35f/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0xf435da9e535b3846d643dad16580e35f/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @+id:U32 -> @incoming:Maybe<&1, C> -> @world:0xf435da9e535b3846d643dad16580e35f/world.World<S, Store, R, E> -> Pair(0xf435da9e535b3846d643dad16580e35f/world.World<S, Store, R, E>, Unit)
template restore_observed source · line 183 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0xf435da9e535b3846d643dad16580e35f/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0xf435da9e535b3846d643dad16580e35f/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @observed:Pair(0xf435da9e535b3846d643dad16580e35f/world.World<S, Store, R, E>, Unit) -> 0xf435da9e535b3846d643dad16580e35f/world.World<S, Store, R, E>
template restore_allowed source · line 187 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0xf435da9e535b3846d643dad16580e35f/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0xf435da9e535b3846d643dad16580e35f/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @checked:Pair(0xf435da9e535b3846d643dad16580e35f/world.World<S, Store, R, E>, Bool) -> @handle:0xf435da9e535b3846d643dad16580e35f/world.Handle<S> -> @incoming:Maybe<&1, C> -> 0xf435da9e535b3846d643dad16580e35f/world.World<S, Store, R, E>
template restore source · line 192 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0xf435da9e535b3846d643dad16580e35f/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0xf435da9e535b3846d643dad16580e35f/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @family:Family<S, Store, Rest, C, V, Token, take, put, project> -> @+handle:0xf435da9e535b3846d643dad16580e35f/world.Handle<S> -> @incoming:Maybe<&1, C> -> @world:0xf435da9e535b3846d643dad16580e35f/world.World<S, Store, R, E> -> 0xf435da9e535b3846d643dad16580e35f/world.World<S, Store, R, E>
template lifecycle_join source · line 195 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0xf435da9e535b3846d643dad16580e35f/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0xf435da9e535b3846d643dad16580e35f/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @rest:Rest -> @observed:Pair(0xf435da9e535b3846d643dad16580e35f/column.Column<S, C>, 0xf435da9e535b3846d643dad16580e35f/lifecycle.Stamp) -> Pair(Store, 0xf435da9e535b3846d643dad16580e35f/lifecycle.Stamp)
template lifecycle_store source · line 199 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0xf435da9e535b3846d643dad16580e35f/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0xf435da9e535b3846d643dad16580e35f/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @+id:U32 -> @split:Pair(Rest, 0xf435da9e535b3846d643dad16580e35f/column.Column<S, C>) -> Pair(Store, 0xf435da9e535b3846d643dad16580e35f/lifecycle.Stamp)
template lifecycle_world source · line 203 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0xf435da9e535b3846d643dad16580e35f/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0xf435da9e535b3846d643dad16580e35f/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @+id:U32 -> @world:0xf435da9e535b3846d643dad16580e35f/world.World<S, Store, R, E> -> Pair(0xf435da9e535b3846d643dad16580e35f/world.World<S, Store, R, E>, 0xf435da9e535b3846d643dad16580e35f/lifecycle.Stamp)
template lifecycle_allowed source · line 208 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0xf435da9e535b3846d643dad16580e35f/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0xf435da9e535b3846d643dad16580e35f/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @checked:Pair(0xf435da9e535b3846d643dad16580e35f/world.World<S, Store, R, E>, Bool) -> @handle:0xf435da9e535b3846d643dad16580e35f/world.Handle<S> -> Pair(0xf435da9e535b3846d643dad16580e35f/world.World<S, Store, R, E>, 0xf435da9e535b3846d643dad16580e35f/lifecycle.Stamp)
template lifecycle source · line 215 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0xf435da9e535b3846d643dad16580e35f/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0xf435da9e535b3846d643dad16580e35f/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @family:Family<S, Store, Rest, C, V, Token, take, put, project> -> @world:0xf435da9e535b3846d643dad16580e35f/world.World<S, Store, R, E> -> @+handle:0xf435da9e535b3846d643dad16580e35f/world.Handle<S> -> Pair(0xf435da9e535b3846d643dad16580e35f/world.World<S, Store, R, E>, 0xf435da9e535b3846d643dad16580e35f/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 218 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0xf435da9e535b3846d643dad16580e35f/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0xf435da9e535b3846d643dad16580e35f/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @+id:U32 -> @stamp:0xf435da9e535b3846d643dad16580e35f/lifecycle.Stamp -> @split:Pair(Rest, 0xf435da9e535b3846d643dad16580e35f/column.Column<S, C>) -> Pair(Store, Unit)
template restore_stamp_world source · line 222 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0xf435da9e535b3846d643dad16580e35f/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0xf435da9e535b3846d643dad16580e35f/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @+id:U32 -> @stamp:0xf435da9e535b3846d643dad16580e35f/lifecycle.Stamp -> @world:0xf435da9e535b3846d643dad16580e35f/world.World<S, Store, R, E> -> Pair(0xf435da9e535b3846d643dad16580e35f/world.World<S, Store, R, E>, Unit)
template restore_stamp_done source · line 227 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0xf435da9e535b3846d643dad16580e35f/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0xf435da9e535b3846d643dad16580e35f/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @observed:Pair(0xf435da9e535b3846d643dad16580e35f/world.World<S, Store, R, E>, Unit) -> 0xf435da9e535b3846d643dad16580e35f/world.World<S, Store, R, E>
template restore_stamp source · line 231 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0xf435da9e535b3846d643dad16580e35f/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0xf435da9e535b3846d643dad16580e35f/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @+handle:0xf435da9e535b3846d643dad16580e35f/world.Handle<S> -> @stamp:0xf435da9e535b3846d643dad16580e35f/lifecycle.Stamp -> @world:0xf435da9e535b3846d643dad16580e35f/world.World<S, Store, R, E> -> 0xf435da9e535b3846d643dad16580e35f/world.World<S, Store, R, E>
template tx_get_join source · line 235 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0xf435da9e535b3846d643dad16580e35f/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0xf435da9e535b3846d643dad16580e35f/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @undo:List<&1, @_:0xf435da9e535b3846d643dad16580e35f/world.World<S, Store, R, E> -> 0xf435da9e535b3846d643dad16580e35f/world.World<S, Store, R, E>> -> @commands:List<&1, 0xf435da9e535b3846d643dad16580e35f/deferred_command.Command<0xf435da9e535b3846d643dad16580e35f/world.World<S, Store, R, E>>> -> @events:List<&2, E> -> @trace:0xf435da9e535b3846d643dad16580e35f/trace_facts.State -> @observed:Pair(0xf435da9e535b3846d643dad16580e35f/world.World<S, Store, R, E>, Access<V>) -> Pair(0xf435da9e535b3846d643dad16580e35f/transaction.Tx<0xf435da9e535b3846d643dad16580e35f/world.World<S, Store, R, E>, E>, Access<V>)
template tx_get source · line 241 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0xf435da9e535b3846d643dad16580e35f/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0xf435da9e535b3846d643dad16580e35f/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @family:Family<S, Store, Rest, C, V, Token, take, put, project> -> @tx:0xf435da9e535b3846d643dad16580e35f/transaction.Tx<0xf435da9e535b3846d643dad16580e35f/world.World<S, Store, R, E>, E> -> @handle:0xf435da9e535b3846d643dad16580e35f/world.Handle<S> -> Pair(0xf435da9e535b3846d643dad16580e35f/transaction.Tx<0xf435da9e535b3846d643dad16580e35f/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 252 · raw
@-S:Data -> @handle:0xf435da9e535b3846d643dad16580e35f/world.Handle<S> -> String
template trace_write source · line 255 · raw
@-S:Data -> @state:0xf435da9e535b3846d643dad16580e35f/trace_facts.State -> @name:String -> @handle:0xf435da9e535b3846d643dad16580e35f/world.Handle<S> -> @result:0xf435da9e535b3846d643dad16580e35f/trace_facts.FactResult -> 0xf435da9e535b3846d643dad16580e35f/trace_facts.State
template trace_refusal source · line 259 · raw
@-S:Data -> @state:0xf435da9e535b3846d643dad16580e35f/trace_facts.State -> @name:String -> @handle:0xf435da9e535b3846d643dad16580e35f/world.Handle<S> -> @error:0xf435da9e535b3846d643dad16580e35f/world.WorldError -> 0xf435da9e535b3846d643dad16580e35f/trace_facts.State
template family_name source · line 263 · raw
@-S:Data -> @-Store:Type -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0xf435da9e535b3846d643dad16580e35f/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0xf435da9e535b3846d643dad16580e35f/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 266 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0xf435da9e535b3846d643dad16580e35f/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0xf435da9e535b3846d643dad16580e35f/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @+family:Family<S, Store, Rest, C, V, Token, take, put, project> -> @+handle:0xf435da9e535b3846d643dad16580e35f/world.Handle<S> -> @undo:List<&1, @_:0xf435da9e535b3846d643dad16580e35f/world.World<S, Store, R, E> -> 0xf435da9e535b3846d643dad16580e35f/world.World<S, Store, R, E>> -> @commands:List<&1, 0xf435da9e535b3846d643dad16580e35f/deferred_command.Command<0xf435da9e535b3846d643dad16580e35f/world.World<S, Store, R, E>>> -> @events:List<&2, E> -> @trace:0xf435da9e535b3846d643dad16580e35f/trace_facts.State -> @+stamp:0xf435da9e535b3846d643dad16580e35f/lifecycle.Stamp -> @result:Replacement<0xf435da9e535b3846d643dad16580e35f/world.World<S, Store, R, E>, C> -> SetResult<0xf435da9e535b3846d643dad16580e35f/transaction.Tx<0xf435da9e535b3846d643dad16580e35f/world.World<S, Store, R, E>, E>, C>
template tx_set_stamped source · line 275 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0xf435da9e535b3846d643dad16580e35f/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0xf435da9e535b3846d643dad16580e35f/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @+family:Family<S, Store, Rest, C, V, Token, take, put, project> -> @+handle:0xf435da9e535b3846d643dad16580e35f/world.Handle<S> -> @undo:List<&1, @_:0xf435da9e535b3846d643dad16580e35f/world.World<S, Store, R, E> -> 0xf435da9e535b3846d643dad16580e35f/world.World<S, Store, R, E>> -> @commands:List<&1, 0xf435da9e535b3846d643dad16580e35f/deferred_command.Command<0xf435da9e535b3846d643dad16580e35f/world.World<S, Store, R, E>>> -> @events:List<&2, E> -> @trace:0xf435da9e535b3846d643dad16580e35f/trace_facts.State -> @incoming:C -> @observed:Pair(0xf435da9e535b3846d643dad16580e35f/world.World<S, Store, R, E>, 0xf435da9e535b3846d643dad16580e35f/lifecycle.Stamp) -> SetResult<0xf435da9e535b3846d643dad16580e35f/transaction.Tx<0xf435da9e535b3846d643dad16580e35f/world.World<S, Store, R, E>, E>, C>
template stamped_store_join source · line 279 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0xf435da9e535b3846d643dad16580e35f/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0xf435da9e535b3846d643dad16580e35f/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @stamp:0xf435da9e535b3846d643dad16580e35f/lifecycle.Stamp -> @result:Pair(Store, Swap<C>) -> Pair(Store, Pair(Swap<C>, 0xf435da9e535b3846d643dad16580e35f/lifecycle.Stamp))
template stamped_column source · line 283 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0xf435da9e535b3846d643dad16580e35f/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0xf435da9e535b3846d643dad16580e35f/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @rest:Rest -> @+id:U32 -> @incoming:C -> @+tick:0xf435da9e535b3846d643dad16580e35f/change_tick.Tick -> @allowed:Bool -> @observed:Pair(0xf435da9e535b3846d643dad16580e35f/column.Column<S, C>, 0xf435da9e535b3846d643dad16580e35f/lifecycle.Stamp) -> Pair(Store, Pair(Swap<C>, 0xf435da9e535b3846d643dad16580e35f/lifecycle.Stamp))
template stamped_store source · line 288 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0xf435da9e535b3846d643dad16580e35f/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0xf435da9e535b3846d643dad16580e35f/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @+id:U32 -> @incoming:C -> @+tick:0xf435da9e535b3846d643dad16580e35f/change_tick.Tick -> @allowed:Bool -> @split:Pair(Rest, 0xf435da9e535b3846d643dad16580e35f/column.Column<S, C>) -> Pair(Store, Pair(Swap<C>, 0xf435da9e535b3846d643dad16580e35f/lifecycle.Stamp))
template stamped_replaced source · line 292 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0xf435da9e535b3846d643dad16580e35f/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0xf435da9e535b3846d643dad16580e35f/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @observed:Pair(0xf435da9e535b3846d643dad16580e35f/world.World<S, Store, R, E>, Pair(Swap<C>, 0xf435da9e535b3846d643dad16580e35f/lifecycle.Stamp)) -> Pair(Replacement<0xf435da9e535b3846d643dad16580e35f/world.World<S, Store, R, E>, C>, 0xf435da9e535b3846d643dad16580e35f/lifecycle.Stamp)
template stamped_clocked source · line 297 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0xf435da9e535b3846d643dad16580e35f/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0xf435da9e535b3846d643dad16580e35f/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @world:0xf435da9e535b3846d643dad16580e35f/world.World<S, Store, R, E> -> @id:U32 -> @incoming:C -> @tick:0xf435da9e535b3846d643dad16580e35f/change_tick.Tick -> Pair(Replacement<0xf435da9e535b3846d643dad16580e35f/world.World<S, Store, R, E>, C>, 0xf435da9e535b3846d643dad16580e35f/lifecycle.Stamp)
template stamped_advanced source · line 302 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0xf435da9e535b3846d643dad16580e35f/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0xf435da9e535b3846d643dad16580e35f/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @id:U32 -> @incoming:C -> @advanced:Pair(0xf435da9e535b3846d643dad16580e35f/world.World<S, Store, R, E>, 0xf435da9e535b3846d643dad16580e35f/change_tick.Tick) -> Pair(Replacement<0xf435da9e535b3846d643dad16580e35f/world.World<S, Store, R, E>, C>, 0xf435da9e535b3846d643dad16580e35f/lifecycle.Stamp)
template stamped_world source · line 306 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0xf435da9e535b3846d643dad16580e35f/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0xf435da9e535b3846d643dad16580e35f/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @id:U32 -> @incoming:C -> @world:0xf435da9e535b3846d643dad16580e35f/world.World<S, Store, R, E> -> Pair(Replacement<0xf435da9e535b3846d643dad16580e35f/world.World<S, Store, R, E>, C>, 0xf435da9e535b3846d643dad16580e35f/lifecycle.Stamp)
template stamped_allowed source · line 309 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0xf435da9e535b3846d643dad16580e35f/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0xf435da9e535b3846d643dad16580e35f/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @checked:Pair(0xf435da9e535b3846d643dad16580e35f/world.World<S, Store, R, E>, Bool) -> @handle:0xf435da9e535b3846d643dad16580e35f/world.Handle<S> -> @incoming:C -> Pair(Replacement<0xf435da9e535b3846d643dad16580e35f/world.World<S, Store, R, E>, C>, 0xf435da9e535b3846d643dad16580e35f/lifecycle.Stamp)
template tx_set_fused source · line 314 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0xf435da9e535b3846d643dad16580e35f/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0xf435da9e535b3846d643dad16580e35f/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @+family:Family<S, Store, Rest, C, V, Token, take, put, project> -> @+handle:0xf435da9e535b3846d643dad16580e35f/world.Handle<S> -> @undo:List<&1, @_:0xf435da9e535b3846d643dad16580e35f/world.World<S, Store, R, E> -> 0xf435da9e535b3846d643dad16580e35f/world.World<S, Store, R, E>> -> @commands:List<&1, 0xf435da9e535b3846d643dad16580e35f/deferred_command.Command<0xf435da9e535b3846d643dad16580e35f/world.World<S, Store, R, E>>> -> @events:List<&2, E> -> @trace:0xf435da9e535b3846d643dad16580e35f/trace_facts.State -> @observed:Pair(Replacement<0xf435da9e535b3846d643dad16580e35f/world.World<S, Store, R, E>, C>, 0xf435da9e535b3846d643dad16580e35f/lifecycle.Stamp) -> SetResult<0xf435da9e535b3846d643dad16580e35f/transaction.Tx<0xf435da9e535b3846d643dad16580e35f/world.World<S, Store, R, E>, E>, C>
template tx_set source · line 323 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0xf435da9e535b3846d643dad16580e35f/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0xf435da9e535b3846d643dad16580e35f/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @+family:Family<S, Store, Rest, C, V, Token, take, put, project> -> @tx:0xf435da9e535b3846d643dad16580e35f/transaction.Tx<0xf435da9e535b3846d643dad16580e35f/world.World<S, Store, R, E>, E> -> @+handle:0xf435da9e535b3846d643dad16580e35f/world.Handle<S> -> @incoming:C -> SetResult<0xf435da9e535b3846d643dad16580e35f/transaction.Tx<0xf435da9e535b3846d643dad16580e35f/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 328 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0xf435da9e535b3846d643dad16580e35f/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0xf435da9e535b3846d643dad16580e35f/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @+family:Family<S, Store, Rest, C, V, Token, take, put, project> -> @+handle:0xf435da9e535b3846d643dad16580e35f/world.Handle<S> -> @undo:List<&1, @_:0xf435da9e535b3846d643dad16580e35f/world.World<S, Store, R, E> -> 0xf435da9e535b3846d643dad16580e35f/world.World<S, Store, R, E>> -> @commands:List<&1, 0xf435da9e535b3846d643dad16580e35f/deferred_command.Command<0xf435da9e535b3846d643dad16580e35f/world.World<S, Store, R, E>>> -> @events:List<&2, E> -> @trace:0xf435da9e535b3846d643dad16580e35f/trace_facts.State -> @+stamp:0xf435da9e535b3846d643dad16580e35f/lifecycle.Stamp -> @result:Replacement<0xf435da9e535b3846d643dad16580e35f/world.World<S, Store, R, E>, C> -> RemoveResult<0xf435da9e535b3846d643dad16580e35f/transaction.Tx<0xf435da9e535b3846d643dad16580e35f/world.World<S, Store, R, E>, E>>
template tx_remove_stamped source · line 335 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0xf435da9e535b3846d643dad16580e35f/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0xf435da9e535b3846d643dad16580e35f/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @+family:Family<S, Store, Rest, C, V, Token, take, put, project> -> @+handle:0xf435da9e535b3846d643dad16580e35f/world.Handle<S> -> @undo:List<&1, @_:0xf435da9e535b3846d643dad16580e35f/world.World<S, Store, R, E> -> 0xf435da9e535b3846d643dad16580e35f/world.World<S, Store, R, E>> -> @commands:List<&1, 0xf435da9e535b3846d643dad16580e35f/deferred_command.Command<0xf435da9e535b3846d643dad16580e35f/world.World<S, Store, R, E>>> -> @events:List<&2, E> -> @trace:0xf435da9e535b3846d643dad16580e35f/trace_facts.State -> @observed:Pair(0xf435da9e535b3846d643dad16580e35f/world.World<S, Store, R, E>, 0xf435da9e535b3846d643dad16580e35f/lifecycle.Stamp) -> RemoveResult<0xf435da9e535b3846d643dad16580e35f/transaction.Tx<0xf435da9e535b3846d643dad16580e35f/world.World<S, Store, R, E>, E>>
template tx_remove source · line 342 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0xf435da9e535b3846d643dad16580e35f/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0xf435da9e535b3846d643dad16580e35f/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @+family:Family<S, Store, Rest, C, V, Token, take, put, project> -> @tx:0xf435da9e535b3846d643dad16580e35f/transaction.Tx<0xf435da9e535b3846d643dad16580e35f/world.World<S, Store, R, E>, E> -> @+handle:0xf435da9e535b3846d643dad16580e35f/world.Handle<S> -> RemoveResult<0xf435da9e535b3846d643dad16580e35f/transaction.Tx<0xf435da9e535b3846d643dad16580e35f/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 347 · raw
@-V:Data -> @-display:(@_:V -> String) -> @value:Access<V> -> 0xf435da9e535b3846d643dad16580e35f/trace_facts.Value
template displayed_written source · line 352 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0xf435da9e535b3846d643dad16580e35f/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0xf435da9e535b3846d643dad16580e35f/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @before:0xf435da9e535b3846d643dad16580e35f/trace_facts.Value -> @after:0xf435da9e535b3846d643dad16580e35f/trace_facts.Value -> @result:SetResult<0xf435da9e535b3846d643dad16580e35f/transaction.Tx<0xf435da9e535b3846d643dad16580e35f/world.World<S, Store, R, E>, E>, C> -> SetResult<0xf435da9e535b3846d643dad16580e35f/transaction.Tx<0xf435da9e535b3846d643dad16580e35f/world.World<S, Store, R, E>, E>, C>
template displayed_viewed source · line 357 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0xf435da9e535b3846d643dad16580e35f/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0xf435da9e535b3846d643dad16580e35f/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:0xf435da9e535b3846d643dad16580e35f/world.Handle<S> -> @incoming:Pair(C, V) -> @observed:Pair(0xf435da9e535b3846d643dad16580e35f/transaction.Tx<0xf435da9e535b3846d643dad16580e35f/world.World<S, Store, R, E>, E>, Access<V>) -> SetResult<0xf435da9e535b3846d643dad16580e35f/transaction.Tx<0xf435da9e535b3846d643dad16580e35f/world.World<S, Store, R, E>, E>, C>
template displayed_enabled source · line 360 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0xf435da9e535b3846d643dad16580e35f/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0xf435da9e535b3846d643dad16580e35f/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:0xf435da9e535b3846d643dad16580e35f/world.Handle<S> -> @incoming:C -> @observed:Pair(0xf435da9e535b3846d643dad16580e35f/transaction.Tx<0xf435da9e535b3846d643dad16580e35f/world.World<S, Store, R, E>, E>, Bool) -> SetResult<0xf435da9e535b3846d643dad16580e35f/transaction.Tx<0xf435da9e535b3846d643dad16580e35f/world.World<S, Store, R, E>, E>, C>
template tx_set_displayed source · line 368 · raw
@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0xf435da9e535b3846d643dad16580e35f/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0xf435da9e535b3846d643dad16580e35f/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:0xf435da9e535b3846d643dad16580e35f/transaction.Tx<0xf435da9e535b3846d643dad16580e35f/world.World<S, Store, R, E>, E> -> @handle:0xf435da9e535b3846d643dad16580e35f/world.Handle<S> -> @incoming:C -> SetResult<0xf435da9e535b3846d643dad16580e35f/transaction.Tx<0xf435da9e535b3846d643dad16580e35f/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.