column.bend checks
raw source on the hub · import bendvy-ecs-core@0.1.0.6/column.bend as Column
5 imports
import Base import ./change_tick.bend as Tick import lifecycle.bend as L import owner_handoff.bend as H import indexed_lifecycle.bend as M
Types
type History source · line 9 · raw
@-S:Data -> @-C:Type -> Type
Schema provisioning owns columns. Gameplay receives abstract providers instead. IDs are one-based; this bounded slice supports at most 131072 slots.
HistoryNil@-S:Data -> @-C:Type -> History<S, C>
HistoryCon@-S:Data -> @-C:Type -> @id:U32 -> @value:Maybe<&1, C> -> @rest:History<S, C> -> History<S, C>
type Auxiliary source · line 12 · raw
Type
AuxiliaryAuxiliary
type Marker source · line 14 · raw
Data
MarkerMarker
type State source · line 16 · raw
@-S:Data -> @-C:Type -> Type
State@-S:Data -> @-C:Type -> @values:Array<Maybe<&1, C>> -> @stamps:List<&2, 0x14a72e1c180a5ab1f8a056d43822425c/lifecycle.Entry> -> @capacity:U32 -> @current:U32 -> @owner:Maybe<&1, C> -> @remaining:0x14a72e1c180a5ab1f8a056d43822425c/owner_handoff.PrototypeHandoffRows<S, C> -> @past:History<S, C> -> State<S, C>
type Carrier source · line 20 · raw
@-S:Data -> @-C:Type -> Type
Recursive ownership carrier prevents native union-wide field transport. Every constructor owns a State, directly or through its inner carrier.
Owned@-S:Data -> @-C:Type -> @state:State<S, C> -> Carrier<S, C>
Wrapped@-S:Data -> @-C:Type -> @inner:Carrier<S, C> -> Carrier<S, C>
type IndexedOrdinaryState source · line 23 · raw
@-S:Data -> @-C:Type -> Type
IndexedOrdinaryState@-S:Data -> @-C:Type -> @values:Array<Maybe<&1, C>> -> @metadata:0x14a72e1c180a5ab1f8a056d43822425c/indexed_lifecycle.Metadata -> IndexedOrdinaryState<S, C>
type IndexedOrdinaryCarrier source · line 25 · raw
@-S:Data -> @-C:Type -> Type
IndexedOrdinaryOwned@-S:Data -> @-C:Type -> @state:IndexedOrdinaryState<S, C> -> IndexedOrdinaryCarrier<S, C>
IndexedOrdinaryWrapped@-S:Data -> @-C:Type -> @inner:IndexedOrdinaryCarrier<S, C> -> IndexedOrdinaryCarrier<S, C>
type IndexedPreparedState source · line 28 · raw
@-S:Data -> @-C:Type -> Type
IndexedPreparedState@-S:Data -> @-C:Type -> @values:Array<Maybe<&1, C>> -> @metadata:0x14a72e1c180a5ab1f8a056d43822425c/indexed_lifecycle.Metadata -> @capacity:U32 -> @current:U32 -> @owner:Maybe<&1, C> -> @remaining:0x14a72e1c180a5ab1f8a056d43822425c/owner_handoff.PrototypeHandoffRows<S, C> -> @past:History<S, C> -> IndexedPreparedState<S, C>
type IndexedPreparedCarrier source · line 30 · raw
@-S:Data -> @-C:Type -> Type
IndexedPreparedOwned@-S:Data -> @-C:Type -> @state:IndexedPreparedState<S, C> -> IndexedPreparedCarrier<S, C>
IndexedPreparedWrapped@-S:Data -> @-C:Type -> @inner:IndexedPreparedCarrier<S, C> -> IndexedPreparedCarrier<S, C>
type Column source · line 37 · raw
@-S:Data -> @-C:Type -> Type
Trusted schema storage owning optional affine payloads and lifecycle data. Representation variants are engine details, not additional gameplay APIs. Raw column operations use slot indices and do not validate World handles; applications normally use typed component/query capabilities.
Column@-S:Data -> @-C:Type -> @values:Array<Maybe<&1, C>> -> @stamps:List<&2, 0x14a72e1c180a5ab1f8a056d43822425c/lifecycle.Entry> -> Column<S, C>
Prepared@-S:Data -> @-C:Type -> @state:Carrier<S, C> -> Column<S, C>
Indexed@-S:Data -> @-C:Type -> @state:IndexedOrdinaryCarrier<S, C> -> Column<S, C>
PreparedIndexed@-S:Data -> @-C:Type -> @state:IndexedPreparedCarrier<S, C> -> Column<S, C>
type SwapOutcome source · line 86 · raw
@-S:Data -> @-C:Type -> Type
Raw column replacement result. Accepted returns column and displaced optional payload; Rejected returns column and incoming optional payload. Neither branch provides runtime entity/world validation by itself.
Accepted@-S:Data -> @-C:Type -> @column:Column<S, C> -> @previous:Maybe<&1, C> -> SwapOutcome<S, C>
Rejected@-S:Data -> @-C:Type -> @column:Column<S, C> -> @incoming:Maybe<&1, C> -> SwapOutcome<S, C>
type EvacuationPhase source · line 202 · raw
@-S:Data -> @-C:Type -> Type
Source partial evaluation of exact selected Required/all-live handoff producer. Every physical index is in bounds; synthetic Aux/flags/stamps were unused.
Fetch@-S:Data -> @-C:Type -> @fuel:Nat -> @id:U32 -> @values:Array<Maybe<&1, C>> -> @rows:0x14a72e1c180a5ab1f8a056d43822425c/owner_handoff.PrototypeHandoffRows<S, C> -> EvacuationPhase<S, C>
Taken@-S:Data -> @-C:Type -> @fuel:Nat -> @id:U32 -> @rows:0x14a72e1c180a5ab1f8a056d43822425c/owner_handoff.PrototypeHandoffRows<S, C> -> @result:Pair(Array<Maybe<&1, C>>, Maybe<&1, C>) -> EvacuationPhase<S, C>
type SeekPhase source · line 302 · raw
Data
InspectSeekPhase
Choice@equal:Bool -> @before:Bool -> SeekPhase
Definitions
def recover_selected_rows source · line 173 · raw
@-S:Data -> @-C:Type -> @rows:0x14a72e1c180a5ab1f8a056d43822425c/owner_handoff.PrototypeHandoffRows<S, C> -> @values:Array<Maybe<&1, C>> -> Array<Maybe<&1, C>>
Partial evaluation of selected recovery's unused ID-list projection. Actual affine owners and ascending Array.set writes are unchanged.
Templates
template indexed_prepared_unseal source · line 42 · raw
@-S:Data -> @-C:Type -> @carrier:IndexedPreparedCarrier<S, C> -> IndexedPreparedState<S, C>
template indexed_unseal source · line 46 · raw
@-S:Data -> @-C:Type -> @carrier:IndexedOrdinaryCarrier<S, C> -> IndexedOrdinaryState<S, C>
template indexed_wrap source · line 50 · raw
@-S:Data -> @-C:Type -> @values:Array<Maybe<&1, C>> -> @metadata:0x14a72e1c180a5ab1f8a056d43822425c/indexed_lifecycle.Metadata -> Column<S, C>
template empty_indexed source · line 55 · raw
@-S:Data -> @-C:Type -> Column<S, C>
Create an empty indexed column for trusted schema setup. Its layout is not a component-kind restriction: C may be affine Type. No entity is spawned. Example: examples/health-decay/schema.bend, empty().
template absent source · line 57 · raw
@-C:Type -> @+depth:Nat -> Array<Maybe<&1, C>>
template indexed_grow source · line 65 · raw
@-S:Data -> @-C:Type -> @fuel:Nat -> @values:Array<Maybe<&1, C>> -> @metadata:0x14a72e1c180a5ab1f8a056d43822425c/indexed_lifecycle.Metadata -> @+size:U32 -> @+depth:Nat -> @+target:U32 -> @enough:Bool -> Column<S, C>
template indexed_ensure_sized source · line 72 · raw
@-S:Data -> @-C:Type -> @+target:U32 -> @metadata:0x14a72e1c180a5ab1f8a056d43822425c/indexed_lifecycle.Metadata -> @result:Pair(Array<Maybe<&1, C>>, U32) -> Column<S, C>
template indexed_ensure_state source · line 75 · raw
@-S:Data -> @-C:Type -> @target:U32 -> @state:IndexedOrdinaryState<S, C> -> Column<S, C>
template unseal source · line 78 · raw
@-S:Data -> @-C:Type -> @carrier:Carrier<S, C> -> State<S, C>
template indexed_swapped source · line 90 · raw
@-S:Data -> @-C:Type -> @metadata:0x14a72e1c180a5ab1f8a056d43822425c/indexed_lifecycle.Metadata -> @result:Pair(Array<Maybe<&1, C>>, Maybe<&1, C>) -> SwapOutcome<S, C>
template indexed_swap_checked source · line 93 · raw
@-S:Data -> @-C:Type -> @+id:U32 -> @incoming:Maybe<&1, C> -> @metadata:0x14a72e1c180a5ab1f8a056d43822425c/indexed_lifecycle.Metadata -> @values:Array<Maybe<&1, C>> -> @valid:Bool -> SwapOutcome<S, C>
template indexed_swap_sized source · line 97 · raw
@-S:Data -> @-C:Type -> @+id:U32 -> @incoming:Maybe<&1, C> -> @metadata:0x14a72e1c180a5ab1f8a056d43822425c/indexed_lifecycle.Metadata -> @result:Pair(Array<Maybe<&1, C>>, U32) -> SwapOutcome<S, C>
template indexed_swap_state source · line 100 · raw
@-S:Data -> @-C:Type -> @+id:U32 -> @incoming:Maybe<&1, C> -> @state:IndexedOrdinaryState<S, C> -> SwapOutcome<S, C>
template indexed_view_restored source · line 103 · raw
@-S:Data -> @-C:Type -> @-V:Data -> @metadata:0x14a72e1c180a5ab1f8a056d43822425c/indexed_lifecycle.Metadata -> @projection:V -> @result:Pair(Array<Maybe<&1, C>>, Maybe<&1, C>) -> Pair(Column<S, C>, Maybe<&2, V>)
template indexed_view_projected source · line 106 · raw
@-S:Data -> @-C:Type -> @-V:Data -> @+id:U32 -> @values:Array<Maybe<&1, C>> -> @metadata:0x14a72e1c180a5ab1f8a056d43822425c/indexed_lifecycle.Metadata -> @result:Pair(C, V) -> Pair(Column<S, C>, Maybe<&2, V>)
template indexed_view_taken source · line 109 · raw
@-S:Data -> @-C:Type -> @-V:Data -> @-project:(@_:C -> Pair(C, V)) -> @+id:U32 -> @metadata:0x14a72e1c180a5ab1f8a056d43822425c/indexed_lifecycle.Metadata -> @result:Pair(Array<Maybe<&1, C>>, Maybe<&1, C>) -> Pair(Column<S, C>, Maybe<&2, V>)
template indexed_view_checked source · line 113 · raw
@-S:Data -> @-C:Type -> @-V:Data -> @-project:(@_:C -> Pair(C, V)) -> @+id:U32 -> @values:Array<Maybe<&1, C>> -> @metadata:0x14a72e1c180a5ab1f8a056d43822425c/indexed_lifecycle.Metadata -> @valid:Bool -> Pair(Column<S, C>, Maybe<&2, V>)
template indexed_view_sized source · line 117 · raw
@-S:Data -> @-C:Type -> @-V:Data -> @-project:(@_:C -> Pair(C, V)) -> @+id:U32 -> @metadata:0x14a72e1c180a5ab1f8a056d43822425c/indexed_lifecycle.Metadata -> @result:Pair(Array<Maybe<&1, C>>, U32) -> Pair(Column<S, C>, Maybe<&2, V>)
template indexed_view_state source · line 120 · raw
@-S:Data -> @-C:Type -> @-V:Data -> @-project:(@_:C -> Pair(C, V)) -> @+id:U32 -> @state:IndexedOrdinaryState<S, C> -> Pair(Column<S, C>, Maybe<&2, V>)
template indexed_projected_state source · line 123 · raw
@-S:Data -> @-C:Type -> @-V:Data -> @+id:U32 -> @result:Pair(C, V) -> @state:IndexedOrdinaryState<S, C> -> Pair(Column<S, C>, Maybe<&2, V>)
template indexed_lifecycle_got source · line 126 · raw
@-S:Data -> @-C:Type -> @values:Array<Maybe<&1, C>> -> @result:Pair(0x14a72e1c180a5ab1f8a056d43822425c/indexed_lifecycle.Metadata, 0x14a72e1c180a5ab1f8a056d43822425c/lifecycle.Stamp) -> Pair(Column<S, C>, 0x14a72e1c180a5ab1f8a056d43822425c/lifecycle.Stamp)
template indexed_lifecycle_state source · line 129 · raw
@-S:Data -> @-C:Type -> @+id:U32 -> @state:IndexedOrdinaryState<S, C> -> Pair(Column<S, C>, 0x14a72e1c180a5ab1f8a056d43822425c/lifecycle.Stamp)
template indexed_restore_state source · line 132 · raw
@-S:Data -> @-C:Type -> @+id:U32 -> @stamp:0x14a72e1c180a5ab1f8a056d43822425c/lifecycle.Stamp -> @state:IndexedOrdinaryState<S, C> -> Column<S, C>
template indexed_mark_got source · line 135 · raw
@-S:Data -> @-C:Type -> @+id:U32 -> @incoming:Bool -> @wasPresent:Bool -> @tick:0x14a72e1c180a5ab1f8a056d43822425c/change_tick.Tick -> @values:Array<Maybe<&1, C>> -> @result:Pair(0x14a72e1c180a5ab1f8a056d43822425c/indexed_lifecycle.Metadata, 0x14a72e1c180a5ab1f8a056d43822425c/lifecycle.Stamp) -> Column<S, C>
template indexed_mark_state source · line 138 · raw
@-S:Data -> @-C:Type -> @+id:U32 -> @incoming:Bool -> @wasPresent:Bool -> @tick:0x14a72e1c180a5ab1f8a056d43822425c/change_tick.Tick -> @state:IndexedOrdinaryState<S, C> -> Column<S, C>
template indexed_clear_state source · line 141 · raw
@-S:Data -> @-C:Type -> @+id:U32 -> @state:IndexedOrdinaryState<S, C> -> Column<S, C>
template empty source · line 146 · raw
@-S:Data -> @-C:Type -> Column<S, C>
Create an empty trusted schema column without component payloads.
template grow source · line 149 · raw
@-S:Data -> @-C:Type -> @fuel:Nat -> @values:Array<Maybe<&1, C>> -> @+stamps:List<&2, 0x14a72e1c180a5ab1f8a056d43822425c/lifecycle.Entry> -> @+size:U32 -> @+depth:Nat -> @+target:U32 -> @enough:Bool -> Column<S, C>
template ensure_sized source · line 159 · raw
@-S:Data -> @-C:Type -> @+target:U32 -> @+stamps:List<&2, 0x14a72e1c180a5ab1f8a056d43822425c/lifecycle.Entry> -> @sized:Pair(Array<Maybe<&1, C>>, U32) -> Column<S, C>
template recover_past source · line 164 · raw
@-S:Data -> @-C:Type -> @past:History<S, C> -> @values:Array<Maybe<&1, C>> -> Array<Maybe<&1, C>>
Recovery completes every evacuated owner before ordinary-array fallback.
template recover_remaining source · line 168 · raw
@-S:Data -> @-C:Type -> @stamps:List<&2, 0x14a72e1c180a5ab1f8a056d43822425c/lifecycle.Entry> -> @result:Pair(Array<Maybe<&1, C>>, List<&2, U32>) -> Column<S, C>
template recover_current source · line 177 · raw
@-S:Data -> @-C:Type -> @values:Array<Maybe<&1, C>> -> @+stamps:List<&2, 0x14a72e1c180a5ab1f8a056d43822425c/lifecycle.Entry> -> @+current:U32 -> @owner:Maybe<&1, C> -> @remaining:0x14a72e1c180a5ab1f8a056d43822425c/owner_handoff.PrototypeHandoffRows<S, C> -> @past:History<S, C> -> @active:Bool -> Column<S, C>
template indexed_recover_current source · line 181 · raw
@-S:Data -> @-C:Type -> @values:Array<Maybe<&1, C>> -> @metadata:0x14a72e1c180a5ab1f8a056d43822425c/indexed_lifecycle.Metadata -> @+current:U32 -> @owner:Maybe<&1, C> -> @remaining:0x14a72e1c180a5ab1f8a056d43822425c/owner_handoff.PrototypeHandoffRows<S, C> -> @past:History<S, C> -> @active:Bool -> Column<S, C>
template recover_state source · line 185 · raw
@-S:Data -> @-C:Type -> @state:State<S, C> -> Column<S, C>
template indexed_recover_state source · line 188 · raw
@-S:Data -> @-C:Type -> @state:IndexedPreparedState<S, C> -> Column<S, C>
template recover source · line 191 · raw
@-S:Data -> @-C:Type -> @column:Column<S, C> -> Column<S, C>
template prepared_return source · line 197 · raw
@-S:Data -> @-C:Type -> @stamps:List<&2, 0x14a72e1c180a5ab1f8a056d43822425c/lifecycle.Entry> -> @capacity:U32 -> @result:Pair(0x14a72e1c180a5ab1f8a056d43822425c/owner_handoff.Rows<C, Auxiliary, Marker>, 0x14a72e1c180a5ab1f8a056d43822425c/owner_handoff.PrototypeHandoffRows<S, C>) -> Column<S, C>
template evacuate_phase source · line 205 · raw
@-S:Data -> @-C:Type -> @gas:Nat -> @phase:EvacuationPhase<S, C> -> Pair(Array<Maybe<&1, C>>, 0x14a72e1c180a5ab1f8a056d43822425c/owner_handoff.PrototypeHandoffRows<S, C>)
template evacuate_pending source · line 215 · raw
@-S:Data -> @-C:Type -> @fuel:Nat -> @+id:U32 -> @rows:0x14a72e1c180a5ab1f8a056d43822425c/owner_handoff.PrototypeHandoffRows<S, C> -> @observed:Pair(Array<Maybe<&1, C>>, Maybe<&1, C>) -> Pair(Array<Maybe<&1, C>>, 0x14a72e1c180a5ab1f8a056d43822425c/owner_handoff.PrototypeHandoffRows<S, C>)
The pending swap tuple is already fetched; zero fuel still moves that owner.
template evacuate_start source · line 225 · raw
@-S:Data -> @-C:Type -> @fuel:Nat -> @+id:U32 -> @values:Array<Maybe<&1, C>> -> @rows:0x14a72e1c180a5ab1f8a056d43822425c/owner_handoff.PrototypeHandoffRows<S, C> -> Pair(Array<Maybe<&1, C>>, 0x14a72e1c180a5ab1f8a056d43822425c/owner_handoff.PrototypeHandoffRows<S, C>)
template evacuate source · line 228 · raw
@-S:Data -> @-C:Type -> @+fuel:Nat -> @id:U32 -> @values:Array<Maybe<&1, C>> -> @rows:0x14a72e1c180a5ab1f8a056d43822425c/owner_handoff.PrototypeHandoffRows<S, C> -> Pair(Array<Maybe<&1, C>>, 0x14a72e1c180a5ab1f8a056d43822425c/owner_handoff.PrototypeHandoffRows<S, C>)
Keep the exact original exported reusable-fuel/affine-ID function type.
template prepared_evacuated source · line 232 · raw
@-S:Data -> @-C:Type -> @stamps:List<&2, 0x14a72e1c180a5ab1f8a056d43822425c/lifecycle.Entry> -> @capacity:U32 -> @result:Pair(Array<Maybe<&1, C>>, 0x14a72e1c180a5ab1f8a056d43822425c/owner_handoff.PrototypeHandoffRows<S, C>) -> Column<S, C>
template indexed_prepared_evacuated source · line 235 · raw
@-S:Data -> @-C:Type -> @metadata:0x14a72e1c180a5ab1f8a056d43822425c/indexed_lifecycle.Metadata -> @capacity:U32 -> @result:Pair(Array<Maybe<&1, C>>, 0x14a72e1c180a5ab1f8a056d43822425c/owner_handoff.PrototypeHandoffRows<S, C>) -> Column<S, C>
template prepare_sized source · line 238 · raw
@-S:Data -> @-C:Type -> @+stamps:List<&2, 0x14a72e1c180a5ab1f8a056d43822425c/lifecycle.Entry> -> @result:Pair(Array<Maybe<&1, C>>, U32) -> Column<S, C>
template indexed_prepare_sized source · line 241 · raw
@-S:Data -> @-C:Type -> @metadata:0x14a72e1c180a5ab1f8a056d43822425c/indexed_lifecycle.Metadata -> @result:Pair(Array<Maybe<&1, C>>, U32) -> Column<S, C>
template indexed_prepare_state source · line 244 · raw
@-S:Data -> @-C:Type -> @state:IndexedOrdinaryState<S, C> -> Column<S, C>
template prepare source · line 247 · raw
@-S:Data -> @-C:Type -> @column:Column<S, C> -> Column<S, C>
template ensure_recovered source · line 254 · raw
@-S:Data -> @-C:Type -> @target:U32 -> @column:Column<S, C> -> Column<S, C>
template ensure_prepared source · line 259 · raw
@-S:Data -> @-C:Type -> @+target:U32 -> @column:Column<S, C> -> @fits:Bool -> Column<S, C>
template ensure_state source · line 264 · raw
@-S:Data -> @-C:Type -> @+target:U32 -> @state:State<S, C> -> Column<S, C>
template indexed_prepared_ensure_state source · line 267 · raw
@-S:Data -> @-C:Type -> @+target:U32 -> @state:IndexedPreparedState<S, C> -> Column<S, C>
template ensure_checked source · line 270 · raw
@-S:Data -> @-C:Type -> @column:Column<S, C> -> @+target:U32 -> @valid:Bool -> Column<S, C>
template ensure source · line 280 · raw
@-S:Data -> @-C:Type -> @column:Column<S, C> -> @+target:U32 -> Column<S, C>
template swapped source · line 283 · raw
@-S:Data -> @-C:Type -> @result:Pair(Array<Maybe<&1, C>>, Maybe<&1, C>) -> @stamps:List<&2, 0x14a72e1c180a5ab1f8a056d43822425c/lifecycle.Entry> -> SwapOutcome<S, C>
template swap_checked source · line 287 · raw
@-S:Data -> @-C:Type -> @values:Array<Maybe<&1, C>> -> @stamps:List<&2, 0x14a72e1c180a5ab1f8a056d43822425c/lifecycle.Entry> -> @id:U32 -> @incoming:Maybe<&1, C> -> @valid:Bool -> SwapOutcome<S, C>
template swap_sized source · line 294 · raw
@-S:Data -> @-C:Type -> @+id:U32 -> @incoming:Maybe<&1, C> -> @stamps:List<&2, 0x14a72e1c180a5ab1f8a056d43822425c/lifecycle.Entry> -> @sized:Pair(Array<Maybe<&1, C>>, U32) -> SwapOutcome<S, C>
template past_current source · line 298 · raw
@-S:Data -> @-C:Type -> @current:U32 -> @owner:Maybe<&1, C> -> @past:History<S, C> -> @active:Bool -> History<S, C>
template seek source · line 305 · raw
@-S:Data -> @-C:Type -> @fuel:Nat -> @values:Array<Maybe<&1, C>> -> @stamps:List<&2, 0x14a72e1c180a5ab1f8a056d43822425c/lifecycle.Entry> -> @capacity:U32 -> @+target:U32 -> @incoming:Maybe<&1, C> -> @remaining:0x14a72e1c180a5ab1f8a056d43822425c/owner_handoff.PrototypeHandoffRows<S, C> -> @past:History<S, C> -> @phase:SeekPhase -> SwapOutcome<S, C>
template indexed_seek source · line 313 · raw
@-S:Data -> @-C:Type -> @fuel:Nat -> @values:Array<Maybe<&1, C>> -> @metadata:0x14a72e1c180a5ab1f8a056d43822425c/indexed_lifecycle.Metadata -> @capacity:U32 -> @+target:U32 -> @incoming:Maybe<&1, C> -> @remaining:0x14a72e1c180a5ab1f8a056d43822425c/owner_handoff.PrototypeHandoffRows<S, C> -> @past:History<S, C> -> @phase:SeekPhase -> SwapOutcome<S, C>
template swap_recovered source · line 321 · raw
@-S:Data -> @-C:Type -> @+id:U32 -> @incoming:Maybe<&1, C> -> @column:Column<S, C> -> SwapOutcome<S, C>
template prepared_swap source · line 326 · raw
@-S:Data -> @-C:Type -> @values:Array<Maybe<&1, C>> -> @stamps:List<&2, 0x14a72e1c180a5ab1f8a056d43822425c/lifecycle.Entry> -> @+capacity:U32 -> @+current:U32 -> @owner:Maybe<&1, C> -> @remaining:0x14a72e1c180a5ab1f8a056d43822425c/owner_handoff.PrototypeHandoffRows<S, C> -> @past:History<S, C> -> @+id:U32 -> @incoming:Maybe<&1, C> -> @valid:Bool -> @same:Bool -> @backwards:Bool -> SwapOutcome<S, C>
template indexed_prepared_swap source · line 332 · raw
@-S:Data -> @-C:Type -> @values:Array<Maybe<&1, C>> -> @metadata:0x14a72e1c180a5ab1f8a056d43822425c/indexed_lifecycle.Metadata -> @+capacity:U32 -> @+current:U32 -> @owner:Maybe<&1, C> -> @remaining:0x14a72e1c180a5ab1f8a056d43822425c/owner_handoff.PrototypeHandoffRows<S, C> -> @past:History<S, C> -> @+id:U32 -> @incoming:Maybe<&1, C> -> @valid:Bool -> @same:Bool -> @backwards:Bool -> SwapOutcome<S, C>
template swap_state source · line 338 · raw
@-S:Data -> @-C:Type -> @+id:U32 -> @incoming:Maybe<&1, C> -> @state:State<S, C> -> SwapOutcome<S, C>
template indexed_prepared_swap_state source · line 341 · raw
@-S:Data -> @-C:Type -> @+id:U32 -> @incoming:Maybe<&1, C> -> @state:IndexedPreparedState<S, C> -> SwapOutcome<S, C>
template swap source · line 344 · raw
@-S:Data -> @-C:Type -> @column:Column<S, C> -> @+id:U32 -> @incoming:Maybe<&1, C> -> SwapOutcome<S, C>
template remove source · line 351 · raw
@-S:Data -> @-C:Type -> @column:Column<S, C> -> @id:U32 -> SwapOutcome<S, C>
template restored source · line 354 · raw
@-S:Data -> @-C:Type -> @-V:Data -> @result:Pair(Array<Maybe<&1, C>>, Maybe<&1, C>) -> @projection:V -> @stamps:List<&2, 0x14a72e1c180a5ab1f8a056d43822425c/lifecycle.Entry> -> Pair(Column<S, C>, Maybe<&2, V>)
template viewed_return source · line 358 · raw
@-S:Data -> @-C:Type -> @-V:Data -> @view:V -> @result:SwapOutcome<S, C> -> Pair(Column<S, C>, Maybe<&2, V>)
template viewed source · line 362 · raw
@-S:Data -> @-C:Type -> @-V:Data -> @projected:Pair(C, V) -> @column:Column<S, C> -> @id:U32 -> Pair(Column<S, C>, Maybe<&2, V>)
template view_taken source · line 369 · raw
@-S:Data -> @-C:Type -> @-V:Data -> @-project:(@_:C -> Pair(C, V)) -> @id:U32 -> @outcome:SwapOutcome<S, C> -> Pair(Column<S, C>, Maybe<&2, V>)
template plain_view_projected source · line 380 · raw
@-S:Data -> @-C:Type -> @-V:Data -> @values:Array<Maybe<&1, C>> -> @stamps:List<&2, 0x14a72e1c180a5ab1f8a056d43822425c/lifecycle.Entry> -> @id:U32 -> @result:Pair(C, V) -> Pair(Column<S, C>, Maybe<&2, V>)
Ordinary columns retain direct affine Array projection/restoration. Preparing is opt-in; unused prepared storage must not add temporary swap-owner transport.
template plain_view_taken source · line 383 · raw
@-S:Data -> @-C:Type -> @-V:Data -> @-project:(@_:C -> Pair(C, V)) -> @stamps:List<&2, 0x14a72e1c180a5ab1f8a056d43822425c/lifecycle.Entry> -> @id:U32 -> @result:Pair(Array<Maybe<&1, C>>, Maybe<&1, C>) -> Pair(Column<S, C>, Maybe<&2, V>)
template plain_view_checked source · line 387 · raw
@-S:Data -> @-C:Type -> @-V:Data -> @-project:(@_:C -> Pair(C, V)) -> @values:Array<Maybe<&1, C>> -> @stamps:List<&2, 0x14a72e1c180a5ab1f8a056d43822425c/lifecycle.Entry> -> @+id:U32 -> @valid:Bool -> Pair(Column<S, C>, Maybe<&2, V>)
template plain_view_sized source · line 391 · raw
@-S:Data -> @-C:Type -> @-V:Data -> @-project:(@_:C -> Pair(C, V)) -> @+id:U32 -> @stamps:List<&2, 0x14a72e1c180a5ab1f8a056d43822425c/lifecycle.Entry> -> @result:Pair(Array<Maybe<&1, C>>, U32) -> Pair(Column<S, C>, Maybe<&2, V>)
template prepared_view_projected source · line 394 · raw
@-S:Data -> @-C:Type -> @-V:Data -> @values:Array<Maybe<&1, C>> -> @stamps:List<&2, 0x14a72e1c180a5ab1f8a056d43822425c/lifecycle.Entry> -> @capacity:U32 -> @current:U32 -> @remaining:0x14a72e1c180a5ab1f8a056d43822425c/owner_handoff.PrototypeHandoffRows<S, C> -> @past:History<S, C> -> @result:Pair(C, V) -> Pair(Column<S, C>, Maybe<&2, V>)
template indexed_prepared_view_projected source · line 397 · raw
@-S:Data -> @-C:Type -> @-V:Data -> @values:Array<Maybe<&1, C>> -> @metadata:0x14a72e1c180a5ab1f8a056d43822425c/indexed_lifecycle.Metadata -> @capacity:U32 -> @current:U32 -> @remaining:0x14a72e1c180a5ab1f8a056d43822425c/owner_handoff.PrototypeHandoffRows<S, C> -> @past:History<S, C> -> @result:Pair(C, V) -> Pair(Column<S, C>, Maybe<&2, V>)
template prepared_view_current source · line 400 · raw
@-S:Data -> @-C:Type -> @-V:Data -> @-project:(@_:C -> Pair(C, V)) -> @values:Array<Maybe<&1, C>> -> @stamps:List<&2, 0x14a72e1c180a5ab1f8a056d43822425c/lifecycle.Entry> -> @capacity:U32 -> @current:U32 -> @owner:Maybe<&1, C> -> @remaining:0x14a72e1c180a5ab1f8a056d43822425c/owner_handoff.PrototypeHandoffRows<S, C> -> @past:History<S, C> -> Pair(Column<S, C>, Maybe<&2, V>)
template indexed_prepared_view_current source · line 404 · raw
@-S:Data -> @-C:Type -> @-V:Data -> @-project:(@_:C -> Pair(C, V)) -> @values:Array<Maybe<&1, C>> -> @metadata:0x14a72e1c180a5ab1f8a056d43822425c/indexed_lifecycle.Metadata -> @capacity:U32 -> @current:U32 -> @owner:Maybe<&1, C> -> @remaining:0x14a72e1c180a5ab1f8a056d43822425c/owner_handoff.PrototypeHandoffRows<S, C> -> @past:History<S, C> -> Pair(Column<S, C>, Maybe<&2, V>)
template prepared_view_taken_state source · line 408 · raw
@-S:Data -> @-C:Type -> @-V:Data -> @-project:(@_:C -> Pair(C, V)) -> @owner:C -> @state:State<S, C> -> Pair(Column<S, C>, Maybe<&2, V>)
template indexed_prepared_view_taken_state source · line 411 · raw
@-S:Data -> @-C:Type -> @-V:Data -> @-project:(@_:C -> Pair(C, V)) -> @owner:C -> @state:IndexedPreparedState<S, C> -> Pair(Column<S, C>, Maybe<&2, V>)
template prepared_view_taken source · line 414 · raw
@-S:Data -> @-C:Type -> @-V:Data -> @-project:(@_:C -> Pair(C, V)) -> @id:U32 -> @result:SwapOutcome<S, C> -> Pair(Column<S, C>, Maybe<&2, V>)
template seek_view source · line 424 · raw
@-S:Data -> @-C:Type -> @-V:Data -> @-project:(@_:C -> Pair(C, V)) -> @fuel:Nat -> @values:Array<Maybe<&1, C>> -> @stamps:List<&2, 0x14a72e1c180a5ab1f8a056d43822425c/lifecycle.Entry> -> @capacity:U32 -> @+target:U32 -> @remaining:0x14a72e1c180a5ab1f8a056d43822425c/owner_handoff.PrototypeHandoffRows<S, C> -> @past:History<S, C> -> @phase:SeekPhase -> Pair(Column<S, C>, Maybe<&2, V>)
Read terminals project the actual row owner before constructing its carrier. Writer seek and the public low-fuel API remain unchanged.
template indexed_seek_view source · line 432 · raw
@-S:Data -> @-C:Type -> @-V:Data -> @-project:(@_:C -> Pair(C, V)) -> @fuel:Nat -> @values:Array<Maybe<&1, C>> -> @metadata:0x14a72e1c180a5ab1f8a056d43822425c/indexed_lifecycle.Metadata -> @capacity:U32 -> @+target:U32 -> @remaining:0x14a72e1c180a5ab1f8a056d43822425c/owner_handoff.PrototypeHandoffRows<S, C> -> @past:History<S, C> -> @phase:SeekPhase -> Pair(Column<S, C>, Maybe<&2, V>)
template prepared_view_different source · line 440 · raw
@-S:Data -> @-C:Type -> @-V:Data -> @-project:(@_:C -> Pair(C, V)) -> @+id:U32 -> @values:Array<Maybe<&1, C>> -> @stamps:List<&2, 0x14a72e1c180a5ab1f8a056d43822425c/lifecycle.Entry> -> @+capacity:U32 -> @+current:U32 -> @owner:Maybe<&1, C> -> @remaining:0x14a72e1c180a5ab1f8a056d43822425c/owner_handoff.PrototypeHandoffRows<S, C> -> @past:History<S, C> -> @backwards:Bool -> Pair(Column<S, C>, Maybe<&2, V>)
template indexed_prepared_view_different source · line 444 · raw
@-S:Data -> @-C:Type -> @-V:Data -> @-project:(@_:C -> Pair(C, V)) -> @+id:U32 -> @values:Array<Maybe<&1, C>> -> @metadata:0x14a72e1c180a5ab1f8a056d43822425c/indexed_lifecycle.Metadata -> @+capacity:U32 -> @+current:U32 -> @owner:Maybe<&1, C> -> @remaining:0x14a72e1c180a5ab1f8a056d43822425c/owner_handoff.PrototypeHandoffRows<S, C> -> @past:History<S, C> -> @backwards:Bool -> Pair(Column<S, C>, Maybe<&2, V>)
template prepared_view_checked source · line 448 · raw
@-S:Data -> @-C:Type -> @-V:Data -> @-project:(@_:C -> Pair(C, V)) -> @+id:U32 -> @values:Array<Maybe<&1, C>> -> @stamps:List<&2, 0x14a72e1c180a5ab1f8a056d43822425c/lifecycle.Entry> -> @+capacity:U32 -> @+current:U32 -> @owner:Maybe<&1, C> -> @remaining:0x14a72e1c180a5ab1f8a056d43822425c/owner_handoff.PrototypeHandoffRows<S, C> -> @past:History<S, C> -> @valid:Bool -> @same:Bool -> Pair(Column<S, C>, Maybe<&2, V>)
template indexed_prepared_view_checked source · line 453 · raw
@-S:Data -> @-C:Type -> @-V:Data -> @-project:(@_:C -> Pair(C, V)) -> @+id:U32 -> @values:Array<Maybe<&1, C>> -> @metadata:0x14a72e1c180a5ab1f8a056d43822425c/indexed_lifecycle.Metadata -> @+capacity:U32 -> @+current:U32 -> @owner:Maybe<&1, C> -> @remaining:0x14a72e1c180a5ab1f8a056d43822425c/owner_handoff.PrototypeHandoffRows<S, C> -> @past:History<S, C> -> @valid:Bool -> @same:Bool -> Pair(Column<S, C>, Maybe<&2, V>)
template prepared_view_state source · line 458 · raw
@-S:Data -> @-C:Type -> @-V:Data -> @-project:(@_:C -> Pair(C, V)) -> @+id:U32 -> @state:State<S, C> -> Pair(Column<S, C>, Maybe<&2, V>)
template indexed_prepared_view_state source · line 461 · raw
@-S:Data -> @-C:Type -> @-V:Data -> @-project:(@_:C -> Pair(C, V)) -> @+id:U32 -> @state:IndexedPreparedState<S, C> -> Pair(Column<S, C>, Maybe<&2, V>)
template view source · line 464 · raw
@-S:Data -> @-C:Type -> @-V:Data -> @-project:(@_:C -> Pair(C, V)) -> @column:Column<S, C> -> @+id:U32 -> Pair(Column<S, C>, Maybe<&2, V>)
template present source · line 471 · raw
@-C:Type -> @owner:C -> Pair(C, Bool)
template presence source · line 474 · raw
@-S:Data -> @-C:Type -> @result:Pair(Column<S, C>, Maybe<&2, Bool>) -> Pair(Column<S, C>, Bool)
template has source · line 481 · raw
@-S:Data -> @-C:Type -> @column:Column<S, C> -> @id:U32 -> Pair(Column<S, C>, Bool)
template lifecycle_state source · line 486 · raw
@-S:Data -> @-C:Type -> @+id:U32 -> @state:State<S, C> -> Pair(Column<S, C>, 0x14a72e1c180a5ab1f8a056d43822425c/lifecycle.Stamp)
Raw owner swaps/projection are metadata-neutral. Only the component world write seam advances stamps, and rollback restores a saved stamp explicitly.
template indexed_prepared_lifecycle_got source · line 489 · raw
@-S:Data -> @-C:Type -> @values:Array<Maybe<&1, C>> -> @capacity:U32 -> @current:U32 -> @owner:Maybe<&1, C> -> @remaining:0x14a72e1c180a5ab1f8a056d43822425c/owner_handoff.PrototypeHandoffRows<S, C> -> @past:History<S, C> -> @result:Pair(0x14a72e1c180a5ab1f8a056d43822425c/indexed_lifecycle.Metadata, 0x14a72e1c180a5ab1f8a056d43822425c/lifecycle.Stamp) -> Pair(Column<S, C>, 0x14a72e1c180a5ab1f8a056d43822425c/lifecycle.Stamp)
template indexed_prepared_lifecycle_state source · line 492 · raw
@-S:Data -> @-C:Type -> @+id:U32 -> @state:IndexedPreparedState<S, C> -> Pair(Column<S, C>, 0x14a72e1c180a5ab1f8a056d43822425c/lifecycle.Stamp)
template lifecycle source · line 495 · raw
@-S:Data -> @-C:Type -> @column:Column<S, C> -> @+id:U32 -> Pair(Column<S, C>, 0x14a72e1c180a5ab1f8a056d43822425c/lifecycle.Stamp)
template restore_state source · line 502 · raw
@-S:Data -> @-C:Type -> @+id:U32 -> @stamp:0x14a72e1c180a5ab1f8a056d43822425c/lifecycle.Stamp -> @state:State<S, C> -> Column<S, C>
template indexed_prepared_restore_state source · line 505 · raw
@-S:Data -> @-C:Type -> @+id:U32 -> @stamp:0x14a72e1c180a5ab1f8a056d43822425c/lifecycle.Stamp -> @state:IndexedPreparedState<S, C> -> Column<S, C>
template restore_stamp source · line 508 · raw
@-S:Data -> @-C:Type -> @column:Column<S, C> -> @+id:U32 -> @stamp:0x14a72e1c180a5ab1f8a056d43822425c/lifecycle.Stamp -> Column<S, C>
template mark_state source · line 515 · raw
@-S:Data -> @-C:Type -> @+id:U32 -> @incoming:Bool -> @wasPresent:Bool -> @tick:0x14a72e1c180a5ab1f8a056d43822425c/change_tick.Tick -> @state:State<S, C> -> Column<S, C>
template indexed_prepared_mark_got source · line 518 · raw
@-S:Data -> @-C:Type -> @+id:U32 -> @incoming:Bool -> @wasPresent:Bool -> @tick:0x14a72e1c180a5ab1f8a056d43822425c/change_tick.Tick -> @values:Array<Maybe<&1, C>> -> @capacity:U32 -> @current:U32 -> @owner:Maybe<&1, C> -> @remaining:0x14a72e1c180a5ab1f8a056d43822425c/owner_handoff.PrototypeHandoffRows<S, C> -> @past:History<S, C> -> @result:Pair(0x14a72e1c180a5ab1f8a056d43822425c/indexed_lifecycle.Metadata, 0x14a72e1c180a5ab1f8a056d43822425c/lifecycle.Stamp) -> Column<S, C>
template indexed_prepared_mark_state source · line 521 · raw
@-S:Data -> @-C:Type -> @+id:U32 -> @incoming:Bool -> @wasPresent:Bool -> @tick:0x14a72e1c180a5ab1f8a056d43822425c/change_tick.Tick -> @state:IndexedPreparedState<S, C> -> Column<S, C>
template mark source · line 524 · raw
@-S:Data -> @-C:Type -> @column:Column<S, C> -> @+id:U32 -> @incoming:Bool -> @wasPresent:Bool -> @tick:0x14a72e1c180a5ab1f8a056d43822425c/change_tick.Tick -> Column<S, C>
template clear_state source · line 533 · raw
@-S:Data -> @-C:Type -> @+id:U32 -> @state:State<S, C> -> Column<S, C>
Structural cleanup releases payload and associated lifecycle entry. Projection and journal swaps remain metadata-neutral; despawn must use this explicit seam.
template indexed_prepared_clear_state source · line 536 · raw
@-S:Data -> @-C:Type -> @+id:U32 -> @state:IndexedPreparedState<S, C> -> Column<S, C>
template clear_stamp source · line 539 · raw
@-S:Data -> @-C:Type -> @column:Column<S, C> -> @+id:U32 -> Column<S, C>
template cleared source · line 546 · raw
@-S:Data -> @-C:Type -> @+id:U32 -> @outcome:SwapOutcome<S, C> -> SwapOutcome<S, C>
template clear source · line 555 · raw
@-S:Data -> @-C:Type -> @column:Column<S, C> -> @+id:U32 -> SwapOutcome<S, C>
Trusted slot-level removal returning column and its displaced optional payload; successful removal also clears that slot's lifecycle stamp. Does not validate namespace/generation or finalize the returned payload. Use the matching schema cleanup adapter after runtime handle validation.