~/bend-docscommunity

bundle_component_install.bend checks

raw source on the hub · import 0x67fd5084c1da4adc13317822045bb11f/bundle_component_install.bend as Bundle_component_install

8 imports
import Base
import ./change_tick.bend as Tick
import entity_key.bend as Key
import world.bend as W
import component.bend as C
import column.bend as Col
import lifecycle.bend as L
import bundle_install.bend as F

Types

type Entry source · line 10 · raw

@S:Data -> @Owner:Type -> Type

type Recovery source · line 12 · raw

@S:Data -> @Owner:Type -> Type

Templates

template undone source · line 14 · raw

@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0x67fd5084c1da4adc13317822045bb11f/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0x67fd5084c1da4adc13317822045bb11f/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @+handle:0x67fd5084c1da4adc13317822045bb11f/world.Handle<S> -> @+stamp:0x67fd5084c1da4adc13317822045bb11f/lifecycle.Stamp -> @observed:Pair(0x67fd5084c1da4adc13317822045bb11f/world.World<S, Store, R, E>, 0x67fd5084c1da4adc13317822045bb11f/component.Swap<C>) -> 0x67fd5084c1da4adc13317822045bb11f/bundle_install.Restore<0x67fd5084c1da4adc13317822045bb11f/world.World<S, Store, R, E>, Entry<S, C>, Recovery<S, C>>

template undo_present source · line 18 · raw

@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0x67fd5084c1da4adc13317822045bb11f/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0x67fd5084c1da4adc13317822045bb11f/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @+handle:0x67fd5084c1da4adc13317822045bb11f/world.Handle<S> -> @+id:U32 -> @stamp:0x67fd5084c1da4adc13317822045bb11f/lifecycle.Stamp -> @world:0x67fd5084c1da4adc13317822045bb11f/world.World<S, Store, R, E> -> @observed:Pair(Maybe<&1, C>, Bool) -> 0x67fd5084c1da4adc13317822045bb11f/bundle_install.Restore<0x67fd5084c1da4adc13317822045bb11f/world.World<S, Store, R, E>, Entry<S, C>, Recovery<S, C>>

template undo_checked source · line 21 · raw

@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0x67fd5084c1da4adc13317822045bb11f/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0x67fd5084c1da4adc13317822045bb11f/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @+handle:0x67fd5084c1da4adc13317822045bb11f/world.Handle<S> -> @+id:U32 -> @stamp:0x67fd5084c1da4adc13317822045bb11f/lifecycle.Stamp -> @previous:Maybe<&1, C> -> @observed:Pair(0x67fd5084c1da4adc13317822045bb11f/world.World<S, Store, R, E>, Bool) -> 0x67fd5084c1da4adc13317822045bb11f/bundle_install.Restore<0x67fd5084c1da4adc13317822045bb11f/world.World<S, Store, R, E>, Entry<S, C>, Recovery<S, C>>

template undo source · line 25 · raw

@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0x67fd5084c1da4adc13317822045bb11f/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0x67fd5084c1da4adc13317822045bb11f/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @recovery:Recovery<S, C> -> @world:0x67fd5084c1da4adc13317822045bb11f/world.World<S, Store, R, E> -> 0x67fd5084c1da4adc13317822045bb11f/bundle_install.Restore<0x67fd5084c1da4adc13317822045bb11f/world.World<S, Store, R, E>, Entry<S, C>, Recovery<S, C>>

template replaced source · line 28 · raw

@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0x67fd5084c1da4adc13317822045bb11f/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0x67fd5084c1da4adc13317822045bb11f/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @+handle:0x67fd5084c1da4adc13317822045bb11f/world.Handle<S> -> @+stamp:0x67fd5084c1da4adc13317822045bb11f/lifecycle.Stamp -> @result:0x67fd5084c1da4adc13317822045bb11f/component.Replacement<0x67fd5084c1da4adc13317822045bb11f/world.World<S, Store, R, E>, C> -> 0x67fd5084c1da4adc13317822045bb11f/bundle_install.Attempt<0x67fd5084c1da4adc13317822045bb11f/world.World<S, Store, R, E>, Entry<S, C>, Recovery<S, C>>

template stamped source · line 32 · raw

@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0x67fd5084c1da4adc13317822045bb11f/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0x67fd5084c1da4adc13317822045bb11f/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @+family:0x67fd5084c1da4adc13317822045bb11f/component.Family<S, Store, Rest, C, V, Token, take, put, project> -> @+handle:0x67fd5084c1da4adc13317822045bb11f/world.Handle<S> -> @incoming:Maybe<&1, C> -> @observed:Pair(0x67fd5084c1da4adc13317822045bb11f/world.World<S, Store, R, E>, 0x67fd5084c1da4adc13317822045bb11f/lifecycle.Stamp) -> 0x67fd5084c1da4adc13317822045bb11f/bundle_install.Attempt<0x67fd5084c1da4adc13317822045bb11f/world.World<S, Store, R, E>, Entry<S, C>, Recovery<S, C>>

template install source · line 35 · raw

@-S:Data -> @-Store:Type -> @-R:Type -> @-E:Data -> @-Rest:Type -> @-C:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0x67fd5084c1da4adc13317822045bb11f/column.Column<S, C>)) -> @-put:(@_:Rest -> @_:0x67fd5084c1da4adc13317822045bb11f/column.Column<S, C> -> Store) -> @-project:(@_:C -> Pair(C, V)) -> @+family:0x67fd5084c1da4adc13317822045bb11f/component.Family<S, Store, Rest, C, V, Token, take, put, project> -> @world:0x67fd5084c1da4adc13317822045bb11f/world.World<S, Store, R, E> -> @entry:Entry<S, C> -> 0x67fd5084c1da4adc13317822045bb11f/bundle_install.Attempt<0x67fd5084c1da4adc13317822045bb11f/world.World<S, Store, R, E>, Entry<S, C>, Recovery<S, C>>