def construction_selection
import bendvy-ecs-core@0.1.0.3/execution_command_system.bend as ExecutionCommandSystemimport Base
import bendvy-ecs-core@0.1.0.3/execution_composer_layout.bend as Layout
import bendvy-ecs-core@0.1.0.3/execution_command_permission.bend as Permission
import bendvy-ecs-core@0.1.0.3/execution_declaration.bend as D
49# Static construction projection only. Ordinary barriers retain and inspect the
50# actual Compilation; they never invoke this projection on its affine caps.
51def construction_selection(~S:Data,~C:Type,~R:Type,~layout:Layout.Layout,~resources:Layout.Layout,~route:Layout.Route,~Ops:Data -> (Type -> Type) -> Type -> Type -> Type,value:D.Compilation<S,Layout.columns(~S,layout),C,R,ScopedOps(~S,~layout,~resources,~route,~Ops)>) -> Permission.Selection<S,resources>:
52 match value:
53 case D.Supported{D.Declaration{Permission.Prepared{_,_,selection,_},_},_}:selection
54 case D.Unsupported{Permission.Prepared{_,_,selection,_},_,_}:selection
Uses (8)
Used by (0)
No other definition uses this definition.