decode_constructed_requests.bend checks
raw source on the hub · import bendvy-ecs-core@0.1.0.5/decode_constructed_requests.bend as Decode_constructed_requests
9 imports
import Base import decode_construction.bend as Constructor import ordinary_declaration.bend as Identity import decode_data.bend as D import bundle_construction.bend as Build import decode_requests.bend as Request import bundle_requests.bend as Commands import world.bend as W import capabilities.bend as Cap
Types
type Input source · line 11 · raw
@S:Data -> @I:Type -> Type
Input@S:Data -> @I:Type -> @operation:0x2a0aaf4f2cb3f416a9b91fd887916a5d/bundle_requests.Operation<S> -> @raw:I -> Input<S, I>
type Output source · line 12 · raw
@S:Data -> @I:Type -> @P:Type -> Type
Accepted@S:Data -> @I:Type -> @P:Type -> @target:0x2a0aaf4f2cb3f416a9b91fd887916a5d/world.Handle<S> -> @spawned:Bool -> @canonical:0x2a0aaf4f2cb3f416a9b91fd887916a5d/decode_data.Raw -> @undo:(@_:P -> I) -> Output<S, I, P>
Refused@S:Data -> @I:Type -> @P:Type -> @owner:Maybe<&1, I> -> @error:0x2a0aaf4f2cb3f416a9b91fd887916a5d/decode_requests.Error -> Output<S, I, P>
Templates
template refused source · line 15 · raw
@-S:Data -> @-I:Type -> @-P:Type -> @undo:(@_:P -> I) -> @owner:Maybe<&1, P> -> @error:0x2a0aaf4f2cb3f416a9b91fd887916a5d/decode_requests.Error -> Output<S, I, P>
template returned source · line 19 · raw
@-S:Data -> @-I:Type -> @-P:Type -> @-H:Type -> @undo:(@_:P -> I) -> @result:Pair(H, 0x2a0aaf4f2cb3f416a9b91fd887916a5d/decode_requests.Output<S, P>) -> Pair(H, Output<S, I, P>)
template constructed source · line 23 · raw
@-S:Data -> @-I:Type -> @-P:Type -> @-H:Type -> @-request:0x2a0aaf4f2cb3f416a9b91fd887916a5d/capabilities.OwnedRequest<H, 0x2a0aaf4f2cb3f416a9b91fd887916a5d/decode_requests.Input<S, P>, 0x2a0aaf4f2cb3f416a9b91fd887916a5d/decode_requests.Output<S, P>> -> @ctx:H -> @operation:0x2a0aaf4f2cb3f416a9b91fd887916a5d/bundle_requests.Operation<S> -> @result:0x2a0aaf4f2cb3f416a9b91fd887916a5d/bundle_construction.Construction<I, P, 0x2a0aaf4f2cb3f416a9b91fd887916a5d/decode_data.Error> -> Pair(H, Output<S, I, P>)
template apply source · line 27 · raw
@-S:Data -> @-I:Type -> @-P:Type -> @-identity:0x2a0aaf4f2cb3f416a9b91fd887916a5d/ordinary_declaration.Declaration<S, P> -> @-project:(@_:P -> Pair(P, 0x2a0aaf4f2cb3f416a9b91fd887916a5d/decode_data.Raw)) -> @-incoming:(@_:I -> Pair(I, 0x2a0aaf4f2cb3f416a9b91fd887916a5d/decode_data.Raw)) -> @-build:(@_:I -> @_:0x2a0aaf4f2cb3f416a9b91fd887916a5d/decode_data.Raw -> 0x2a0aaf4f2cb3f416a9b91fd887916a5d/bundle_construction.Construction<I, P, 0x2a0aaf4f2cb3f416a9b91fd887916a5d/decode_data.Error>) -> @-factory:0x2a0aaf4f2cb3f416a9b91fd887916a5d/decode_construction.Factory<S, I, P, identity, project, incoming, build> -> @-H:Type -> @-request:0x2a0aaf4f2cb3f416a9b91fd887916a5d/capabilities.OwnedRequest<H, 0x2a0aaf4f2cb3f416a9b91fd887916a5d/decode_requests.Input<S, P>, 0x2a0aaf4f2cb3f416a9b91fd887916a5d/decode_requests.Output<S, P>> -> @ctx:H -> @input:Input<S, I> -> Pair(H, Output<S, I, P>)
template grant source · line 30 · raw
@-S:Data -> @-I:Type -> @-P:Type -> @-identity:0x2a0aaf4f2cb3f416a9b91fd887916a5d/ordinary_declaration.Declaration<S, P> -> @-project:(@_:P -> Pair(P, 0x2a0aaf4f2cb3f416a9b91fd887916a5d/decode_data.Raw)) -> @-incoming:(@_:I -> Pair(I, 0x2a0aaf4f2cb3f416a9b91fd887916a5d/decode_data.Raw)) -> @-build:(@_:I -> @_:0x2a0aaf4f2cb3f416a9b91fd887916a5d/decode_data.Raw -> 0x2a0aaf4f2cb3f416a9b91fd887916a5d/bundle_construction.Construction<I, P, 0x2a0aaf4f2cb3f416a9b91fd887916a5d/decode_data.Error>) -> @-factory:0x2a0aaf4f2cb3f416a9b91fd887916a5d/decode_construction.Factory<S, I, P, identity, project, incoming, build> -> @-H:Type -> @-request:0x2a0aaf4f2cb3f416a9b91fd887916a5d/capabilities.OwnedRequest<H, 0x2a0aaf4f2cb3f416a9b91fd887916a5d/decode_requests.Input<S, P>, 0x2a0aaf4f2cb3f416a9b91fd887916a5d/decode_requests.Output<S, P>> -> 0x2a0aaf4f2cb3f416a9b91fd887916a5d/capabilities.OwnedRequest<H, Input<S, I>, Output<S, I, P>>