~/bend-docscommunity

dependency_registry_program.bend checks

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

3 imports
import Base
import ./dependency_registration.bend as Reg
import ./dependency_executor.bend as Exec

Templates

template Dispatch source · line 6 · raw

@-World:Type -> @-Owners:Type -> @-Error:Data -> @-Out:Data -> Type

Registries retain actual owners and closed sequential dispatch functions.

template Family source · line 8 · raw

@-Error:Data -> @-Out:Data -> Type

template Embed source · line 10 · raw

@-Error:Data -> @-Out:Data -> @-F:Family(Error, Out) -> Type

template Join source · line 12 · raw

@-Error:Data -> @-Out:Data -> @-F:Family(Error, Out) -> Type

template Vacant source · line 14 · raw

@-Error:Data -> @-Out:Data -> @-F:Family(Error, Out) -> Type

template Selection source · line 16 · raw

@-World:Type -> @-Owners:Type -> @-Error:Data -> @-Out:Data -> @-dispatch:Dispatch(World, Owners, Error, Out) -> Type

template Checked source · line 18 · raw

@-Error:Data -> @-Out:Data -> @-World:Type -> @-Owners:Type -> @-dispatch:Dispatch(World, Owners, Error, Out) -> Type

template compile_embed source · line 20 · raw

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

template compile_join source · line 22 · raw

@-Error:Data -> @-Out:Data -> @-World:Type -> @-L:Type -> @-R:Type -> @-left:Dispatch(World, L, Error, Out) -> @-right:Dispatch(World, R, Error, Out) -> @l:0x704c77730661eff4309838fc738ef615/dependency_registration.Registry<World, L, Error, Out, left> -> @r:0x704c77730661eff4309838fc738ef615/dependency_registration.Registry<World, R, Error, Out, right> -> 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)>

template compile_empty source · line 24 · raw

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

template compile source · line 26 · raw

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

template ConditionChecked source · line 28 · raw

@-Error:Data -> @-World:Type -> @-Owners:Type -> @-dispatch:Dispatch(World, Owners, Error, Bool) -> Type

template condition_embed source · line 30 · raw

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

template condition_join source · line 32 · raw

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

template condition_empty source · line 34 · raw

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

template compile_conditions source · line 36 · raw

@-World:Type -> @-Owners:Type -> @-Error:Data -> @-dispatch:Dispatch(World, Owners, Error, Bool) -> @-selection:Selection(World, Owners, Error, Bool, dispatch) -> @owners:Owners -> 0x704c77730661eff4309838fc738ef615/dependency_registration.ConditionRegistry<World, Owners, Error, dispatch>

template empty source · line 38 · raw

@-World:Type -> @-Error:Data -> @-Out:Data -> @-F:Family(Error, Out) -> @-embed:Embed(Error, Out, F) -> @-pair:Join(Error, Out, F) -> @-empty:Vacant(Error, Out, F) -> @_:Unit -> F(World, Unit, 0x704c77730661eff4309838fc738ef615/dependency_registration.empty_dispatch(World, Error, Out))