def bind
bendvy-ecs-core@0.1.0.4 · ordinary_component_binding.bend:9
import bendvy-ecs-core@0.1.0.4/ordinary_component_binding.bend as OrdinaryComponentBinding
import Base
import bendvy-ecs-core@0.1.0.4/ordinary_declaration.bend as Identity
import bendvy-ecs-core@0.1.0.4/component.bend as C
import bendvy-ecs-core@0.1.0.4/column.bend as Col
9
10
11
12
13
14def bind(~S:Data,~Store:Type,~Rest:Type,~P:Type,~V:Data,~Token:Data,~take:Store -> Rest & Col.Column<S,P>,~put:Rest -> Col.Column<S,P> -> Store,~view:P -> P & V,+identity:Identity.Declaration<S,P>) -> Binding<S,Store,Rest,P,V,Token,take,put,view>:
15 Binding{identity,C.Family{Identity.key(~S,~P,identity)}}