~/bend-docscommunity

ordinary_component_clear_declaration.bend checks

raw source on the hub · import 0x67fd5084c1da4adc13317822045bb11f/ordinary_component_clear_declaration.bend as Ordinary_component_clear_declaration

6 imports
import Base
import ./world.bend as W
import ./column.bend as Col
import ./ordinary_declaration.bend as Identity
import ./ordinary_component_binding.bend as Binding
import ./ordinary_component_despawn.bend as Clear

Types

type Declaration source · line 9 · raw

@-S:Data -> @-Store:Type -> @-E:Data -> @-clear:(@_:Store -> @_:0x67fd5084c1da4adc13317822045bb11f/world.Handle<S> -> Pair(Store, List<&2, E>)) -> Data

Closed trusted setup declaration; the same clear index supplies execution.

Templates

template keys source · line 11 · raw

@-S:Data -> @-Store:Type -> @-E:Data -> @-clear:(@_:Store -> @_:0x67fd5084c1da4adc13317822045bb11f/world.Handle<S> -> Pair(Store, List<&2, E>)) -> @declaration:Declaration<S, Store, E, clear> -> List<&2, String>

template leaf source · line 14 · raw

@-S:Data -> @-Store:Type -> @-Rest:Type -> @-P:Type -> @-V:Data -> @-Token:Data -> @-take:(@_:Store -> Pair(Rest, 0x67fd5084c1da4adc13317822045bb11f/column.Column<S, P>)) -> @-put:(@_:Rest -> @_:0x67fd5084c1da4adc13317822045bb11f/column.Column<S, P> -> Store) -> @-view:(@_:P -> Pair(P, V)) -> @-E:Data -> @-inject:(@_:0x67fd5084c1da4adc13317822045bb11f/ordinary_declaration.Declaration<S, P> -> @_:0x67fd5084c1da4adc13317822045bb11f/world.Handle<S> -> E) -> @-binding:0x67fd5084c1da4adc13317822045bb11f/ordinary_component_binding.Binding<S, Store, Rest, P, V, Token, take, put, view> -> Declaration<S, Store, E, 0x67fd5084c1da4adc13317822045bb11f/ordinary_component_despawn.leaf(S, Store, Rest, P, V, Token, take, put, view, E, inject, binding)>

template product_clear source · line 16 · raw

@-S:Data -> @-Store:Type -> @-E:Data -> @-left:(@_:Store -> @_:0x67fd5084c1da4adc13317822045bb11f/world.Handle<S> -> Pair(Store, List<&2, E>)) -> @-right:(@_:Store -> @_:0x67fd5084c1da4adc13317822045bb11f/world.Handle<S> -> Pair(Store, List<&2, E>)) -> @store:Store -> @handle:0x67fd5084c1da4adc13317822045bb11f/world.Handle<S> -> Pair(Store, List<&2, E>)

template product source · line 18 · raw

@-S:Data -> @-Store:Type -> @-E:Data -> @-left:(@_:Store -> @_:0x67fd5084c1da4adc13317822045bb11f/world.Handle<S> -> Pair(Store, List<&2, E>)) -> @-right:(@_:Store -> @_:0x67fd5084c1da4adc13317822045bb11f/world.Handle<S> -> Pair(Store, List<&2, E>)) -> @-leftDeclaration:Declaration<S, Store, E, left> -> @-rightDeclaration:Declaration<S, Store, E, right> -> Declaration<S, Store, E, product_clear(S, Store, E, left, right)>