~/bend-docscommunity

ordinary_captures.bend checks

raw source on the hub · import 0x67fd5084c1da4adc13317822045bb11f/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:0x67fd5084c1da4adc13317822045bb11f/ordinary_resource_system.Declaration<S, R, 0x67fd5084c1da4adc13317822045bb11f/transaction.Tx<0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E>, E>, Ops(0x67fd5084c1da4adc13317822045bb11f/transaction.Tx<0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E>, E>)> -> @-body:(@-H:Type -> @-caps:Ops(H) -> @_:L -> @_:Args -> @_:H -> Pair(H, Pair(L, Pair(0x67fd5084c1da4adc13317822045bb11f/transaction.Outcome<Error>, Out)))) -> @world:0x67fd5084c1da4adc13317822045bb11f/world.World<S, C, R, E> -> @name:String -> @local:L -> 0x67fd5084c1da4adc13317822045bb11f/local.Registered<S, C, R, E, L, Args, Error, Out, 0x67fd5084c1da4adc13317822045bb11f/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.