ordinary_captures.bend checks
raw source on the hub · import bendvy-ecs-core@0.1.0.5/ordinary_captures.bend as Ordinary_captures
7 imports
import Base import ./captures.bend as Captures import ./local.bend as Local import ./ordinary_app_local_fields.bend as Ord import ./ordinary_resource_system.bend as P import ./world.bend as W import ./transaction.bend as T
Templates
template define source · line 10 · raw
@-S:Data -> @-C:Type -> @-R:Type -> @-E:Data -> @-L:Type -> @-Args:Type -> @-Error:Data -> @-Out:Type -> @-Ops:(@_:Type -> Type) -> @-declaration:0x2a0aaf4f2cb3f416a9b91fd887916a5d/ordinary_resource_system.Declaration<S, R, 0x2a0aaf4f2cb3f416a9b91fd887916a5d/transaction.Tx<0x2a0aaf4f2cb3f416a9b91fd887916a5d/world.World<S, C, R, E>, E>, Ops(0x2a0aaf4f2cb3f416a9b91fd887916a5d/transaction.Tx<0x2a0aaf4f2cb3f416a9b91fd887916a5d/world.World<S, C, R, E>, E>)> -> @-body:(@-H:Type -> @-caps:Ops(H) -> @_:L -> @_:Args -> @_:H -> Pair(H, Pair(L, Pair(0x2a0aaf4f2cb3f416a9b91fd887916a5d/transaction.Outcome<Error>, Out)))) -> @world:0x2a0aaf4f2cb3f416a9b91fd887916a5d/world.World<S, C, R, E> -> @name:String -> @local:L -> 0x2a0aaf4f2cb3f416a9b91fd887916a5d/local.Registered<S, C, R, E, L, Args, Error, Out, 0x2a0aaf4f2cb3f416a9b91fd887916a5d/ordinary_app_local_fields.runner(S, C, R, E, L, Args, Error, Out, Ops, declaration, body)>
Ordinary authored body receives declared capabilities and its runtime capture. Registration metadata and transaction completion derive from the declaration.