def stage
bendvy-ecs-core@0.1.0.4 · bundle_canonical_construction.bend:21
import bendvy-ecs-core@0.1.0.4/bundle_canonical_construction.bend as BundleCanonicalConstruction
import Base
import bundle_construction.bend as Build
import bundle_pack.bend as Pack
21
22
23def stage(~Ctx:Type,~Factory:Type,~Rest:Type,~I:Type,~P:Type,~TR:Type,~TC:Type,~Error:Data,~project:Ctx -> Factory & Rest,~restore:Factory -> Rest -> Ctx,~request:Factory -> I -> Factory & Build.Construction<I,P,Error>,~tail:Ctx -> TR -> Build.Staged<Ctx,TR,TC,Error>,ctx:Ctx,input:Pack.Pack<I,TR>) -> Build.Staged<Ctx,Pack.Pack<I,TR>,Pack.Pack<P,TC>,Error>:
24 Build.stage(~Ctx,~I,~P,~TR,~TC,~Error,~head(~Ctx,~Factory,~Rest,~I,~P,~Error,~project,~restore,~request),~tail,ctx,input)