~/bend-docscommunity

chunk_query.bend checks

raw source on the hub · import bendvy-ecs-core@0.1.0.3/chunk_query.bend as Chunk_query

5 imports
import Base
import ./execution_effects.bend as Effects
import ./chunk_column.bend as C
import ./lifecycle.bend as L
import ./change_tick.bend as Tick

Types

type Error source · line 7 · raw

@-E:Data -> Data

type Run source · line 9 · raw

@-S:Data -> @-A:Type -> @-B:Type -> @-E:Data -> Type

type Selection source · line 12 · raw

Data

type Layout source · line 25 · raw

Data

type OutputRow source · line 42 · raw

@-A:Type -> @-B:Type -> @-O:Type -> @-E:Data -> Type

Sequential row traversal threads its physical columns and affine output owner. Context is reusable selection data; it cannot contain affine payload owners.

type OutputValues source · line 44 · raw

@-A:Type -> @-B:Type -> @-O:Type -> @-E:Data -> Type

type OutputRun source · line 46 · raw

@-S:Data -> @-A:Type -> @-B:Type -> @-O:Type -> @-E:Data -> Type

Definitions

def contains source · line 16 · raw

@+index:U32 -> @indices:List<&2, U32> -> Bool

def eligible source · line 20 · raw

@index:U32 -> @stamp:0x704c77730661eff4309838fc738ef615/lifecycle.Stamp -> @tick:0x704c77730661eff4309838fc738ef615/change_tick.Tick -> @selection:Selection -> Bool

def same source · line 35 · raw

@left:Layout -> @right:Layout -> Bool

Templates

template layout_join source · line 28 · raw

@-S:Data -> @-A:Type -> @+half:U32 -> @left:Pair(0x704c77730661eff4309838fc738ef615/chunk_column.Column<S, A>, Layout) -> @right:Pair(0x704c77730661eff4309838fc738ef615/chunk_column.Column<S, A>, Layout) -> Pair(0x704c77730661eff4309838fc738ef615/chunk_column.Column<S, A>, Layout)

template layout source · line 31 · raw

@-S:Data -> @-A:Type -> @column:0x704c77730661eff4309838fc738ef615/chunk_column.Column<S, A> -> Pair(0x704c77730661eff4309838fc738ef615/chunk_column.Column<S, A>, Layout)

template output_result source · line 48 · raw

@-A:Type -> @-B:Type -> @-O:Type -> @-E:Data -> @read:A -> @index:U32 -> @stamp:0x704c77730661eff4309838fc738ef615/lifecycle.Stamp -> @result:Pair(B, Pair(O, Maybe<&2, E>)) -> OutputRow<A, B, O, E>

template output_values source · line 52 · raw

@-A:Type -> @-B:Type -> @-O:Type -> @-E:Data -> @result:OutputRow<A, B, O, E> -> OutputValues<A, B, O, E>

template output_values_join source · line 55 · raw

@-A:Type -> @-B:Type -> @-O:Type -> @-E:Data -> @leftRead:Array<Maybe<&1, A>> -> @leftWrite:Array<Maybe<&1, B>> -> @leftStamps:Array<0x704c77730661eff4309838fc738ef615/lifecycle.Stamp> -> @leftErrors:List<&2, Error<E>> -> @leftAligned:Bool -> @right:OutputValues<A, B, O, E> -> OutputValues<A, B, O, E>

template output_leaf_run source · line 58 · raw

@-S:Data -> @-A:Type -> @-B:Type -> @-O:Type -> @-E:Data -> @readStamps:Array<0x704c77730661eff4309838fc738ef615/lifecycle.Stamp> -> @result:OutputValues<A, B, O, E> -> OutputRun<S, A, B, O, E>

template output_join source · line 61 · raw

@-S:Data -> @-A:Type -> @-B:Type -> @-O:Type -> @-E:Data -> @+half:U32 -> @leftRead:0x704c77730661eff4309838fc738ef615/chunk_column.Column<S, A> -> @leftWrite:0x704c77730661eff4309838fc738ef615/chunk_column.Column<S, B> -> @leftErrors:List<&2, Error<E>> -> @leftAligned:Bool -> @right:OutputRun<S, A, B, O, E> -> OutputRun<S, A, B, O, E>

template effect_Body source · line 64 · raw

@-F:(@_:Type -> Type) -> @-K:Data -> @-V:Data -> @-B:Type -> @-O:Type -> @-E:Data -> Type

template effect_projected source · line 66 · raw

@-F:(@_:Type -> Type) -> @-effects:0x704c77730661eff4309838fc738ef615/execution_effects.Effects<F> -> @-A:Type -> @-B:Type -> @-O:Type -> @-V:Data -> @-K:Data -> @-E:Data -> @-body:effect_Body(F, K, V, B, O, E) -> @context:K -> @write:B -> @output:O -> @+index:U32 -> @stamp:0x704c77730661eff4309838fc738ef615/lifecycle.Stamp -> @tick:0x704c77730661eff4309838fc738ef615/change_tick.Tick -> @result:Pair(A, V) -> F(OutputRow<A, B, O, E>)

template effect_allowed source · line 69 · raw

@-F:(@_:Type -> Type) -> @-effects:0x704c77730661eff4309838fc738ef615/execution_effects.Effects<F> -> @-A:Type -> @-B:Type -> @-O:Type -> @-V:Data -> @-K:Data -> @-E:Data -> @-project:(@_:A -> Pair(A, V)) -> @-body:effect_Body(F, K, V, B, O, E) -> @context:K -> @read:A -> @write:B -> @output:O -> @index:U32 -> @stamp:0x704c77730661eff4309838fc738ef615/lifecycle.Stamp -> @tick:0x704c77730661eff4309838fc738ef615/change_tick.Tick -> @selected:Bool -> F(OutputRow<A, B, O, E>)

template effect_row source · line 73 · raw

@-F:(@_:Type -> Type) -> @-effects:0x704c77730661eff4309838fc738ef615/execution_effects.Effects<F> -> @-A:Type -> @-B:Type -> @-O:Type -> @-V:Data -> @-K:Data -> @-E:Data -> @-project:(@_:A -> Pair(A, V)) -> @-body:effect_Body(F, K, V, B, O, E) -> @context:K -> @read:Maybe<&1, A> -> @write:Maybe<&1, B> -> @output:O -> @+index:U32 -> @+stamp:0x704c77730661eff4309838fc738ef615/lifecycle.Stamp -> @+tick:0x704c77730661eff4309838fc738ef615/change_tick.Tick -> @selection:Selection -> F(OutputRow<A, B, O, E>)

template effect_leaf_right source · line 78 · raw

@-F:(@_:Type -> Type) -> @-effects:0x704c77730661eff4309838fc738ef615/execution_effects.Effects<F> -> @-A:Type -> @-B:Type -> @-O:Type -> @-E:Data -> @left:OutputValues<A, B, O, E> -> @walk:(@_:O -> F(OutputValues<A, B, O, E>)) -> F(OutputValues<A, B, O, E>)

template effect_leaf source · line 81 · raw

@-F:(@_:Type -> Type) -> @-effects:0x704c77730661eff4309838fc738ef615/execution_effects.Effects<F> -> @-A:Type -> @-B:Type -> @-O:Type -> @-V:Data -> @-K:Data -> @-E:Data -> @-project:(@_:A -> Pair(A, V)) -> @-body:effect_Body(F, K, V, B, O, E) -> @+context:K -> @read:Array<Maybe<&1, A>> -> @write:Array<Maybe<&1, B>> -> @stamps:Array<0x704c77730661eff4309838fc738ef615/lifecycle.Stamp> -> @output:O -> @+offset:U32 -> @+size:U32 -> @+tick:0x704c77730661eff4309838fc738ef615/change_tick.Tick -> @+selection:Selection -> F(OutputValues<A, B, O, E>)

template effect_branch_right source · line 86 · raw

@-S:Data -> @-F:(@_:Type -> Type) -> @-effects:0x704c77730661eff4309838fc738ef615/execution_effects.Effects<F> -> @-A:Type -> @-B:Type -> @-O:Type -> @-E:Data -> @+half:U32 -> @left:OutputRun<S, A, B, O, E> -> @walk:(@_:O -> F(OutputRun<S, A, B, O, E>)) -> F(OutputRun<S, A, B, O, E>)

template effect_rows source · line 89 · raw

@-S:Data -> @-F:(@_:Type -> Type) -> @-effects:0x704c77730661eff4309838fc738ef615/execution_effects.Effects<F> -> @-A:Type -> @-B:Type -> @-O:Type -> @-V:Data -> @-K:Data -> @-E:Data -> @-project:(@_:A -> Pair(A, V)) -> @-body:effect_Body(F, K, V, B, O, E) -> @+context:K -> @read:0x704c77730661eff4309838fc738ef615/chunk_column.Column<S, A> -> @write:0x704c77730661eff4309838fc738ef615/chunk_column.Column<S, B> -> @output:O -> @+offset:U32 -> @+tick:0x704c77730661eff4309838fc738ef615/change_tick.Tick -> @+selection:Selection -> F(OutputRun<S, A, B, O, E>)

template effect_execute source · line 94 · raw

@-S:Data -> @-F:(@_:Type -> Type) -> @-effects:0x704c77730661eff4309838fc738ef615/execution_effects.Effects<F> -> @-A:Type -> @-B:Type -> @-O:Type -> @-V:Data -> @-K:Data -> @-E:Data -> @-project:(@_:A -> Pair(A, V)) -> @-body:effect_Body(F, K, V, B, O, E) -> @context:K -> @read:0x704c77730661eff4309838fc738ef615/chunk_column.Column<S, A> -> @write:0x704c77730661eff4309838fc738ef615/chunk_column.Column<S, B> -> @output:O -> @offset:U32 -> @tick:0x704c77730661eff4309838fc738ef615/change_tick.Tick -> @selection:Selection -> @aligned:Bool -> F(OutputRun<S, A, B, O, E>)

template effect_prepared source · line 98 · raw

@-S:Data -> @-F:(@_:Type -> Type) -> @-effects:0x704c77730661eff4309838fc738ef615/execution_effects.Effects<F> -> @-A:Type -> @-B:Type -> @-O:Type -> @-V:Data -> @-K:Data -> @-E:Data -> @-project:(@_:A -> Pair(A, V)) -> @-body:effect_Body(F, K, V, B, O, E) -> @context:K -> @output:O -> @offset:U32 -> @tick:0x704c77730661eff4309838fc738ef615/change_tick.Tick -> @selection:Selection -> @left:Pair(0x704c77730661eff4309838fc738ef615/chunk_column.Column<S, A>, Layout) -> @right:Pair(0x704c77730661eff4309838fc738ef615/chunk_column.Column<S, B>, Layout) -> F(OutputRun<S, A, B, O, E>)

template effect_with_output source · line 101 · raw

@-S:Data -> @-F:(@_:Type -> Type) -> @-effects:0x704c77730661eff4309838fc738ef615/execution_effects.Effects<F> -> @-A:Type -> @-B:Type -> @-O:Type -> @-V:Data -> @-K:Data -> @-E:Data -> @-project:(@_:A -> Pair(A, V)) -> @-body:effect_Body(F, K, V, B, O, E) -> @context:K -> @read:0x704c77730661eff4309838fc738ef615/chunk_column.Column<S, A> -> @write:0x704c77730661eff4309838fc738ef615/chunk_column.Column<S, B> -> @output:O -> @offset:U32 -> @tick:0x704c77730661eff4309838fc738ef615/change_tick.Tick -> @selection:Selection -> F(OutputRun<S, A, B, O, E>)

template with_output source · line 104 · raw

@-S:Data -> @-A:Type -> @-B:Type -> @-O:Type -> @-V:Data -> @-K:Data -> @-E:Data -> @-project:(@_:A -> Pair(A, V)) -> @-body:(@_:K -> @_:U32 -> @_:V -> @_:B -> @_:O -> Pair(B, Pair(O, Maybe<&2, E>))) -> @context:K -> @read:0x704c77730661eff4309838fc738ef615/chunk_column.Column<S, A> -> @write:0x704c77730661eff4309838fc738ef615/chunk_column.Column<S, B> -> @output:O -> @offset:U32 -> @tick:0x704c77730661eff4309838fc738ef615/change_tick.Tick -> @selection:Selection -> OutputRun<S, A, B, O, E>

template unit_result source · line 107 · raw

@-B:Type -> @-E:Data -> @result:Pair(B, Maybe<&2, E>) -> Pair(B, Pair(Unit, Maybe<&2, E>))

template unit_body source · line 110 · raw

@-B:Type -> @-V:Data -> @-E:Data -> @-body:(@_:U32 -> @_:V -> @_:B -> Pair(B, Maybe<&2, E>)) -> @_:Unit -> @index:U32 -> @view:V -> @owner:B -> @_:Unit -> Pair(B, Pair(Unit, Maybe<&2, E>))

template unit_run source · line 112 · raw

@-S:Data -> @-A:Type -> @-B:Type -> @-E:Data -> @result:OutputRun<S, A, B, Unit, E> -> Run<S, A, B, E>

template selected source · line 115 · raw

@-S:Data -> @-A:Type -> @-B:Type -> @-V:Data -> @-E:Data -> @-project:(@_:A -> Pair(A, V)) -> @-body:(@_:U32 -> @_:V -> @_:B -> Pair(B, Maybe<&2, E>)) -> @read:0x704c77730661eff4309838fc738ef615/chunk_column.Column<S, A> -> @write:0x704c77730661eff4309838fc738ef615/chunk_column.Column<S, B> -> @offset:U32 -> @tick:0x704c77730661eff4309838fc738ef615/change_tick.Tick -> @selection:Selection -> Run<S, A, B, E>

template serial source · line 117 · raw

@-S:Data -> @-A:Type -> @-B:Type -> @-V:Data -> @-E:Data -> @-project:(@_:A -> Pair(A, V)) -> @-body:(@_:U32 -> @_:V -> @_:B -> Pair(B, Maybe<&2, E>)) -> @read:0x704c77730661eff4309838fc738ef615/chunk_column.Column<S, A> -> @write:0x704c77730661eff4309838fc738ef615/chunk_column.Column<S, B> -> @offset:U32 -> @tick:0x704c77730661eff4309838fc738ef615/change_tick.Tick -> Run<S, A, B, E>

template serial_selected source · line 119 · raw

@-S:Data -> @-A:Type -> @-B:Type -> @-V:Data -> @-E:Data -> @-project:(@_:A -> Pair(A, V)) -> @-body:(@_:U32 -> @_:V -> @_:B -> Pair(B, Maybe<&2, E>)) -> @read:0x704c77730661eff4309838fc738ef615/chunk_column.Column<S, A> -> @write:0x704c77730661eff4309838fc738ef615/chunk_column.Column<S, B> -> @offset:U32 -> @tick:0x704c77730661eff4309838fc738ef615/change_tick.Tick -> @selection:Selection -> Run<S, A, B, E>