decode_constructed_resource.bend checks
raw source on the hub · import bendvy-ecs-core@0.1.0.7/decode_constructed_resource.bend as Decode_constructed_resource
7 imports
import Base import decode_construction.bend as Constructor import decode_validated_resource.bend as Resource import ordinary_declaration.bend as Identity import decode_data.bend as D import bundle_construction.bend as Build import capabilities.bend as Cap
Types
type Output source · line 9 · raw
@I:Type -> @R:Type -> Type
Replaced@I:Type -> @R:Type -> @canonical:0x7e321819d0ff210531780719c7674cef/decode_data.Raw -> @undo:(@_:R -> I) -> Output<I, R>
Refused@I:Type -> @R:Type -> @owner:I -> @error:0x7e321819d0ff210531780719c7674cef/decode_data.Error -> Output<I, R>
Templates
template returned source · line 12 · raw
@-I:Type -> @-R:Type -> @-H:Type -> @undo:(@_:R -> I) -> @result:Pair(H, 0x7e321819d0ff210531780719c7674cef/decode_validated_resource.Output<R>) -> Pair(H, Output<I, R>)
template constructed source · line 16 · raw
@-I:Type -> @-R:Type -> @-H:Type -> @-request:0x7e321819d0ff210531780719c7674cef/capabilities.OwnedRequest<H, R, 0x7e321819d0ff210531780719c7674cef/decode_validated_resource.Output<R>> -> @ctx:H -> @value:0x7e321819d0ff210531780719c7674cef/bundle_construction.Construction<I, R, 0x7e321819d0ff210531780719c7674cef/decode_data.Error> -> Pair(H, Output<I, R>)
template apply source · line 20 · raw
@-S:Data -> @-I:Type -> @-R:Type -> @-identity:0x7e321819d0ff210531780719c7674cef/ordinary_declaration.Declaration<S, R> -> @-project:(@_:R -> Pair(R, 0x7e321819d0ff210531780719c7674cef/decode_data.Raw)) -> @-incoming:(@_:I -> Pair(I, 0x7e321819d0ff210531780719c7674cef/decode_data.Raw)) -> @-build:(@_:I -> @_:0x7e321819d0ff210531780719c7674cef/decode_data.Raw -> 0x7e321819d0ff210531780719c7674cef/bundle_construction.Construction<I, R, 0x7e321819d0ff210531780719c7674cef/decode_data.Error>) -> @-factory:0x7e321819d0ff210531780719c7674cef/decode_construction.Factory<S, I, R, identity, project, incoming, build> -> @-H:Type -> @-request:0x7e321819d0ff210531780719c7674cef/capabilities.OwnedRequest<H, R, 0x7e321819d0ff210531780719c7674cef/decode_validated_resource.Output<R>> -> @ctx:H -> @input:I -> Pair(H, Output<I, R>)
template grant source · line 22 · raw
@-S:Data -> @-I:Type -> @-R:Type -> @-identity:0x7e321819d0ff210531780719c7674cef/ordinary_declaration.Declaration<S, R> -> @-project:(@_:R -> Pair(R, 0x7e321819d0ff210531780719c7674cef/decode_data.Raw)) -> @-incoming:(@_:I -> Pair(I, 0x7e321819d0ff210531780719c7674cef/decode_data.Raw)) -> @-build:(@_:I -> @_:0x7e321819d0ff210531780719c7674cef/decode_data.Raw -> 0x7e321819d0ff210531780719c7674cef/bundle_construction.Construction<I, R, 0x7e321819d0ff210531780719c7674cef/decode_data.Error>) -> @-factory:0x7e321819d0ff210531780719c7674cef/decode_construction.Factory<S, I, R, identity, project, incoming, build> -> @-H:Type -> @-request:0x7e321819d0ff210531780719c7674cef/capabilities.OwnedRequest<H, R, 0x7e321819d0ff210531780719c7674cef/decode_validated_resource.Output<R>> -> 0x7e321819d0ff210531780719c7674cef/capabilities.OwnedRequest<H, I, Output<I, R>>