OrdinarySystem.plan: def of bendvy-ecs-core@0.1.0.4 Import: import bendvy-ecs-core@0.1.0.4/ordinary_system.bend as OrdinarySystem Lines 34-38 of bendvy-ecs-core@0.1.0.4/ordinary_system.bend: https://jend.leeeet.dev/read.txt?path=bendvy-ecs-core@0.1.0.4/ordinary_system.bend&start_line=34&end_line=38 import Base import bendvy-ecs-core@0.1.0.4/ordinary_query_declaration.bend as Query import bendvy-ecs-core@0.1.0.4/compose.bend as Q import bendvy-ecs-core@0.1.0.4/transaction.bend as T # Lower a closed ordinary declaration into its operational query plan. # Grant and row predicate come from that declaration; this performs no scan. # Trusted setup must keep the declaration consistent with the body Ops. def plan(~S:Data,~C:Type,~R:Type,~E:Data,~Ops:Type -> Type,~A:Data,~U:Data,~Out:Data,~query:Query.Declaration,Ops(Q.Frame)>,~body:@-H:Type -> @-caps:Ops(H) -> A -> H -> H & (T.Outcome & Out)) -> Q.Plan: plan_parts(~S,~C,~R,~E,~Ops,query) Uses (6): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Pair https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/compose.bend&name=Frame https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/compose.bend&name=Plan https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/ordinary_query_declaration.bend&name=Declaration https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/ordinary_system.bend&name=plan_parts https://jend.leeeet.dev/definition.txt?path=bendvy-ecs-core@0.1.0.4/transaction.bend&name=Outcome