decode_fallible_constructed_requests.bend checks
raw source on the hub · import bendvy-ecs-core@0.1.0.7/decode_fallible_constructed_requests.bend as Decode_fallible_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:0x7e321819d0ff210531780719c7674cef/bundle_requests.Operation<S> -> @raw:I -> Input<S, I>
type Error source · line 12 · raw
@Custom:Data -> Data
Construction@Custom:Data -> @error:0x7e321819d0ff210531780719c7674cef/decode_construction.Error<Custom> -> Error<Custom>
Operation@Custom:Data -> @error:0x7e321819d0ff210531780719c7674cef/decode_requests.Error -> Error<Custom>
type Output source · line 13 · raw
@S:Data -> @I:Type -> @P:Type -> @Custom:Data -> Type
Accepted@S:Data -> @I:Type -> @P:Type -> @Custom:Data -> @target:0x7e321819d0ff210531780719c7674cef/world.Handle<S> -> @spawned:Bool -> @canonical:0x7e321819d0ff210531780719c7674cef/decode_data.Raw -> @undo:(@_:P -> I) -> Output<S, I, P, Custom>
Refused@S:Data -> @I:Type -> @P:Type -> @Custom:Data -> @owner:Maybe<&1, I> -> @error:Error<Custom> -> Output<S, I, P, Custom>
Templates
template refused source · line 16 · raw
@-S:Data -> @-I:Type -> @-P:Type -> @-Custom:Data -> @undo:(@_:P -> I) -> @owner:Maybe<&1, P> -> @error:0x7e321819d0ff210531780719c7674cef/decode_requests.Error -> Output<S, I, P, Custom>
template returned source · line 20 · raw
@-S:Data -> @-I:Type -> @-P:Type -> @-Custom:Data -> @-H:Type -> @undo:(@_:P -> I) -> @result:Pair(H, 0x7e321819d0ff210531780719c7674cef/decode_requests.Output<S, P>) -> Pair(H, Output<S, I, P, Custom>)
template constructed source · line 24 · raw
@-S:Data -> @-I:Type -> @-P:Type -> @-Custom:Data -> @-H:Type -> @-request:0x7e321819d0ff210531780719c7674cef/capabilities.OwnedRequest<H, 0x7e321819d0ff210531780719c7674cef/decode_requests.Input<S, P>, 0x7e321819d0ff210531780719c7674cef/decode_requests.Output<S, P>> -> @ctx:H -> @operation:0x7e321819d0ff210531780719c7674cef/bundle_requests.Operation<S> -> @result:0x7e321819d0ff210531780719c7674cef/bundle_construction.Construction<I, P, 0x7e321819d0ff210531780719c7674cef/decode_construction.Error<Custom>> -> Pair(H, Output<S, I, P, Custom>)
template apply source · line 28 · raw
@-S:Data -> @-I:Type -> @-P:Type -> @-Custom:Data -> @-identity:0x7e321819d0ff210531780719c7674cef/ordinary_declaration.Declaration<S, P> -> @-project:(@_:P -> Pair(P, 0x7e321819d0ff210531780719c7674cef/decode_data.Raw)) -> @-incoming:(@_:I -> Pair(I, 0x7e321819d0ff210531780719c7674cef/decode_data.Raw)) -> @-build:(@_:I -> @_:0x7e321819d0ff210531780719c7674cef/decode_data.Raw -> 0x7e321819d0ff210531780719c7674cef/bundle_construction.Construction<I, P, Custom>) -> @-factory:0x7e321819d0ff210531780719c7674cef/decode_construction.FallibleFactory<S, I, P, Custom, identity, project, incoming, build> -> @-H:Type -> @-request:0x7e321819d0ff210531780719c7674cef/capabilities.OwnedRequest<H, 0x7e321819d0ff210531780719c7674cef/decode_requests.Input<S, P>, 0x7e321819d0ff210531780719c7674cef/decode_requests.Output<S, P>> -> @ctx:H -> @input:Input<S, I> -> Pair(H, Output<S, I, P, Custom>)
template grant source · line 31 · raw
@-S:Data -> @-I:Type -> @-P:Type -> @-Custom:Data -> @-identity:0x7e321819d0ff210531780719c7674cef/ordinary_declaration.Declaration<S, P> -> @-project:(@_:P -> Pair(P, 0x7e321819d0ff210531780719c7674cef/decode_data.Raw)) -> @-incoming:(@_:I -> Pair(I, 0x7e321819d0ff210531780719c7674cef/decode_data.Raw)) -> @-build:(@_:I -> @_:0x7e321819d0ff210531780719c7674cef/decode_data.Raw -> 0x7e321819d0ff210531780719c7674cef/bundle_construction.Construction<I, P, Custom>) -> @-factory:0x7e321819d0ff210531780719c7674cef/decode_construction.FallibleFactory<S, I, P, Custom, identity, project, incoming, build> -> @-H:Type -> @-request:0x7e321819d0ff210531780719c7674cef/capabilities.OwnedRequest<H, 0x7e321819d0ff210531780719c7674cef/decode_requests.Input<S, P>, 0x7e321819d0ff210531780719c7674cef/decode_requests.Output<S, P>> -> 0x7e321819d0ff210531780719c7674cef/capabilities.OwnedRequest<H, Input<S, I>, Output<S, I, P, Custom>>