~/bend-docscommunity

dependency_composer_program.bend checks

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

5 imports
import Base
import ./dependency_registration.bend as Reg
import ./dependency_registry_program.bend as Prog
import ./dependency_plan.bend as Plan
import ./dependency_executor.bend as Exec

Types

type Scope source · line 7 · raw

Data

type Compiled source · line 9 · raw

@-World:Type -> @-Owners:Type -> @-Error:Data -> @-Out:Data -> @-dispatch:(@_:Owners -> @_:World -> @_:U32 -> Pair(Owners, Pair(World, 0x704c77730661eff4309838fc738ef615/dependency_executor.Invocation<Error, Out>))) -> Type

type Nested source · line 35 · raw

Data

type NestError source · line 37 · raw

Data

type Nesting source · line 40 · raw

Data

Definitions

def ids source · line 13 · raw

@nodes:List<&2, 0x704c77730661eff4309838fc738ef615/dependency_plan.Node<String>> -> List<&2, U32>

def child_selected source · line 42 · raw

@first:Bool -> @current:Scope -> @next:Maybe<&2, Scope> -> Maybe<&2, Scope>

def child source · line 46 · raw

@children:List<&2, Scope> -> @+index:U32 -> Maybe<&2, Scope>

def scoped source · line 50 · raw

@path:List<&2, U32> -> @scope:Maybe<&2, Scope> -> Maybe<&2, Scope>

def members source · line 55 · raw

@values:List<&2, U32> -> List<&2, 0x704c77730661eff4309838fc738ef615/dependency_plan.Node<String>>

def checked_endpoints source · line 59 · raw

@path:List<&2, U32> -> @value:Maybe<&2, 0x704c77730661eff4309838fc738ef615/dependency_plan.Invalid<String>> -> Maybe<&2, NestError>

def checked_scope source · line 63 · raw

@+path:List<&2, U32> -> @edges:List<&2, 0x704c77730661eff4309838fc738ef615/dependency_plan.Edge> -> @scope:Maybe<&2, Scope> -> Maybe<&2, NestError>

def first_nesting source · line 67 · raw

@first:Maybe<&2, NestError> -> @next:Maybe<&2, NestError> -> Maybe<&2, NestError>

def nested_next source · line 71 · raw

@edges:List<&2, 0x704c77730661eff4309838fc738ef615/dependency_plan.Edge> -> @invalid:Maybe<&2, NestError> -> @next:Nesting -> Nesting

def nested source · line 74 · raw

@items:List<&2, Nested> -> @+scope:Scope -> Nesting

Templates

template Scoped source · line 11 · raw

@-Error:Data -> @-Out:Data -> @-World:Type -> @-Owners:Type -> @-dispatch:0x704c77730661eff4309838fc738ef615/dependency_registry_program.Dispatch(World, Owners, Error, Out) -> Type

template lifted source · line 17 · raw

@-World:Type -> @-Owners:Type -> @-Error:Data -> @-Out:Data -> @-dispatch:0x704c77730661eff4309838fc738ef615/dependency_registry_program.Dispatch(World, Owners, Error, Out) -> @registry:0x704c77730661eff4309838fc738ef615/dependency_registration.Registry<World, Owners, Error, Out, dispatch> -> Compiled<World, Owners, Error, Out, dispatch>

template compile_embed source · line 20 · raw

@-Error:Data -> @-Out:Data -> @-World:Type -> @-Owners:Type -> @-dispatch:0x704c77730661eff4309838fc738ef615/dependency_registry_program.Dispatch(World, Owners, Error, Out) -> @registry:0x704c77730661eff4309838fc738ef615/dependency_registration.Registry<World, Owners, Error, Out, dispatch> -> Compiled<World, Owners, Error, Out, dispatch>

template joined source · line 22 · raw

@-Error:Data -> @-Out:Data -> @-World:Type -> @-L:Type -> @-R:Type -> @-left:0x704c77730661eff4309838fc738ef615/dependency_registry_program.Dispatch(World, L, Error, Out) -> @-right:0x704c77730661eff4309838fc738ef615/dependency_registry_program.Dispatch(World, R, Error, Out) -> @leftScope:Scope -> @rightScope:Scope -> @registry:0x704c77730661eff4309838fc738ef615/dependency_registration.Registry<World, 0x704c77730661eff4309838fc738ef615/dependency_registration.Product<L, R>, Error, Out, 0x704c77730661eff4309838fc738ef615/dependency_registration.paired_dispatch(World, L, R, Error, Out, left, right)> -> Compiled<World, 0x704c77730661eff4309838fc738ef615/dependency_registration.Product<L, R>, Error, Out, 0x704c77730661eff4309838fc738ef615/dependency_registration.paired_dispatch(World, L, R, Error, Out, left, right)>

template compile_join source · line 25 · raw

@-Error:Data -> @-Out:Data -> @-World:Type -> @-L:Type -> @-R:Type -> @-left:0x704c77730661eff4309838fc738ef615/dependency_registry_program.Dispatch(World, L, Error, Out) -> @-right:0x704c77730661eff4309838fc738ef615/dependency_registry_program.Dispatch(World, R, Error, Out) -> @l:Compiled<World, L, Error, Out, left> -> @r:Compiled<World, R, Error, Out, right> -> Compiled<World, 0x704c77730661eff4309838fc738ef615/dependency_registration.Product<L, R>, Error, Out, 0x704c77730661eff4309838fc738ef615/dependency_registration.paired_dispatch(World, L, R, Error, Out, left, right)>

template compile_empty source · line 28 · raw

@-Error:Data -> @-Out:Data -> @-World:Type -> Compiled<World, Unit, Error, Out, 0x704c77730661eff4309838fc738ef615/dependency_registration.empty_dispatch(World, Error, Out)>

template compile source · line 30 · raw

@-World:Type -> @-Owners:Type -> @-Error:Data -> @-Out:Data -> @-dispatch:0x704c77730661eff4309838fc738ef615/dependency_registry_program.Dispatch(World, Owners, Error, Out) -> @-selection:0x704c77730661eff4309838fc738ef615/dependency_registry_program.Selection(World, Owners, Error, Out, dispatch) -> @owners:Owners -> Compiled<World, Owners, Error, Out, dispatch>