~/bend-docscommunity

restore_leaf.bend checks

raw source on the hub · import bendvy-ecs-core@0.1.0.7/restore_leaf.bend as Restore_leaf

7 imports
import Base
import ./persistence_declaration.bend as Persistence
import ./restore_data.bend as R
import ./decode_data.bend as D
import ./decode_construction.bend as Constructor
import ./bundle_construction.bend as Build
import ./ordinary_declaration.bend as Identity

Types

type Record source · line 9 · raw

@I:Type -> @P:Type -> Type

type Applied source · line 11 · raw

@I:Type -> @P:Type -> Type

type State source · line 13 · raw

@Context:Type -> @I:Type -> @P:Type -> Type

type FamilyKind source · line 15 · raw

Data

Definitions

def same_kind source · line 16 · raw

@kind:FamilyKind -> @position:0x7e321819d0ff210531780719c7674cef/restore_data.Position -> Bool

Templates

template constructed source · line 21 · raw

@-Context:Type -> @-I:Type -> @-P:Type -> @-Custom:Data -> @position:0x7e321819d0ff210531780719c7674cef/restore_data.Position -> @records:List<&1, Record<I, P>> -> @returned:List<&1, I> -> @removed:List<&1, P> -> @applied:List<&1, Applied<I, P>> -> @context:Context -> @result:0x7e321819d0ff210531780719c7674cef/bundle_construction.Construction<I, P, 0x7e321819d0ff210531780719c7674cef/decode_construction.Error<Custom>> -> Pair(State<Context, I, P>, 0x7e321819d0ff210531780719c7674cef/restore_data.Dispatch<Custom>)

template stored source · line 25 · raw

@-I:Type -> @-P:Type -> @-Custom:Data -> @undo:(@_:P -> I) -> @receipt:0x7e321819d0ff210531780719c7674cef/decode_data.Receipt<P> -> 0x7e321819d0ff210531780719c7674cef/bundle_construction.Construction<I, P, 0x7e321819d0ff210531780719c7674cef/decode_construction.Error<Custom>>

template admitted source · line 29 · raw

@-S:Data -> @-I:Type -> @-P:Type -> @-Custom:Data -> @-identity:0x7e321819d0ff210531780719c7674cef/ordinary_declaration.Declaration<S, P> -> @-project:(@_:P -> Pair(P, 0x7e321819d0ff210531780719c7674cef/decode_data.Raw)) -> @declaration:0x7e321819d0ff210531780719c7674cef/persistence_declaration.Constructed<S, P, identity, project> -> @result:0x7e321819d0ff210531780719c7674cef/bundle_construction.Construction<I, P, 0x7e321819d0ff210531780719c7674cef/decode_construction.Error<Custom>> -> 0x7e321819d0ff210531780719c7674cef/bundle_construction.Construction<I, P, 0x7e321819d0ff210531780719c7674cef/decode_construction.Error<Custom>>

template declaration source · line 33 · 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> -> 0x7e321819d0ff210531780719c7674cef/persistence_declaration.Constructed<S, P, identity, project>

template supplied source · line 36 · raw

@-S:Data -> @-Context:Type -> @-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> -> @position:0x7e321819d0ff210531780719c7674cef/restore_data.Position -> @records:List<&1, Record<I, P>> -> @returned:List<&1, I> -> @removed:List<&1, P> -> @applied:List<&1, Applied<I, P>> -> @observed:Pair(Context, I) -> Pair(State<Context, I, P>, 0x7e321819d0ff210531780719c7674cef/restore_data.Dispatch<Custom>)

template selected source · line 39 · raw

@-S:Data -> @-Context:Type -> @-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> -> @-supply:(@_:Context -> @_:0x7e321819d0ff210531780719c7674cef/decode_data.Raw -> Pair(Context, I)) -> @matches:Bool -> @state:State<Context, I, P> -> @position:0x7e321819d0ff210531780719c7674cef/restore_data.Position -> @field:0x7e321819d0ff210531780719c7674cef/decode_data.Field -> Pair(State<Context, I, P>, 0x7e321819d0ff210531780719c7674cef/restore_data.Dispatch<Custom>)

template stage source · line 43 · raw

@-S:Data -> @-Context:Type -> @-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> -> @-supply:(@_:Context -> @_:0x7e321819d0ff210531780719c7674cef/decode_data.Raw -> Pair(Context, I)) -> @-kind:FamilyKind -> @state:State<Context, I, P> -> @+position:0x7e321819d0ff210531780719c7674cef/restore_data.Position -> @+field:0x7e321819d0ff210531780719c7674cef/decode_data.Field -> Pair(State<Context, I, P>, 0x7e321819d0ff210531780719c7674cef/restore_data.Dispatch<Custom>)

template released source · line 46 · raw

@-I:Type -> @-P:Type -> @head:I -> @rest:List<&1, I> -> List<&1, I>

template release_records source · line 48 · raw

@-I:Type -> @-P:Type -> @records:List<&1, Record<I, P>> -> @returned:List<&1, I> -> List<&1, I>

template release source · line 52 · raw

@-Context:Type -> @-I:Type -> @-P:Type -> @state:State<Context, I, P> -> State<Context, I, P>

template empty source · line 55 · raw

@-Context:Type -> @-I:Type -> @-P:Type -> @context:Context -> State<Context, I, P>

template commit source · line 57 · raw

@-Context:Type -> @-I:Type -> @-P:Type -> @state:State<Context, I, P> -> State<Context, I, P>

template take_recovery source · line 60 · raw

@-Context:Type -> @-I:Type -> @-P:Type -> @state:State<Context, I, P> -> Pair(State<Context, I, P>, List<&1, I>)