def collect_unpacked
bendvy-ecs-core@0.1.0.3 · execution_generalized_command_leaf.bend:69
import bendvy-ecs-core@0.1.0.3/execution_generalized_command_leaf.bend as ExecutionGeneralizedCommandLeaf
import Base
import bendvy-ecs-core@0.1.0.3/execution_composer_layout.bend as L
import bendvy-ecs-core@0.1.0.3/execution_command_system.bend as Cmd
import bendvy-ecs-core@0.1.0.3/execution_system.bend as Sys
69def collect_unpacked(~S:Data,~components:L.Layout,~resources:L.Layout,~E:Data,~route:L.Route,~Ops:Data -> (Type -> Type) -> Type -> Type -> Type,~User:Type,~Error:Data,~Out:Data,~declaration:Cmd.Program(~S,~L.columns(~S,components),~L.resources(~S,resources),~components,~resources,~route,~Ops),~body:Cmd.Body(~S,~components,~resources,~route,~Ops,~User,~Error,~Out),ids:List<&2,U32>,node:Compilation(~S,~components,~resources,~route,~Ops) & Owner(~S,~components,~resources,~E,~route,~Ops,~User,~Error,~Out,~declaration,~body)) -> Node(~S,~components,~resources,~E,~route,~Ops,~User,~Error,~Out,~declaration,~body) & List<&2,U32>:
70 match node:
71 case (compilation,Cmd.Owner{Sys.Owner{namespace,+id,name,access,cursor,local}}):collected(~S,~components,~resources,~E,~route,~Ops,~User,~Error,~Out,~declaration,~body,compilation,id,ids,Cmd.pending(~S,~L.columns(~S,components),~L.resources(~S,resources),~E,~components,~resources,~route,~Ops,~User,~Error,~Out,~declaration,~body,Cmd.Owner{Sys.Owner{namespace,id,name,access,cursor,local}}))