ordinary_component_binding.bend checks
raw source on the hub · import 0x67fd5084c1da4adc13317822045bb11f/ordinary_component_binding.bend as Ordinary_component_binding
4 imports
import Base import ./ordinary_declaration.bend as Identity import ./component.bend as C import ./column.bend as Col
Types
type Binding source · line 7 · 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)) -> Data
Static trusted schema lenses; this Data binding owns no payload or closure.
Binding@-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)) -> @identity:0x67fd5084c1da4adc13317822045bb11f/ordinary_declaration.Declaration<S, P> -> @family:0x67fd5084c1da4adc13317822045bb11f/component.Family<S, Store, Rest, P, V, Token, take, put, view> -> Binding<S, Store, Rest, P, V, Token, take, put, view>
Templates
template bind 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)) -> @+identity:0x67fd5084c1da4adc13317822045bb11f/ordinary_declaration.Declaration<S, P> -> Binding<S, Store, Rest, P, V, Token, take, put, view>
Trusted schema setup: connect a component identity to its column take/put lenses and owner-preserving Data projection. The resulting Data binding owns no payload. Callers must supply mutually consistent lenses; this constructor does not prove their laws or establish runtime world identity. Example: examples/scheduled-health/registration.bend component bindings.
template identity source · line 18 · 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)) -> @binding:Binding<S, Store, Rest, P, V, Token, take, put, view> -> 0x67fd5084c1da4adc13317822045bb11f/ordinary_declaration.Declaration<S, P>
Return the schema-scoped component identity from a trusted binding. This detached declaration does not identify an entity or grant world access.
template family source · line 24 · 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)) -> @binding:Binding<S, Store, Rest, P, V, Token, take, put, view> -> 0x67fd5084c1da4adc13317822045bb11f/component.Family<S, Store, Rest, P, V, Token, take, put, view>
Return the typed component family used by lower-level component operations. Retains the binding's schema, storage and projection indices; does not access a world. Raw family construction is trusted provisioning, not gameplay access.