def caps
import bendvy-ecs-core@0.1.0.4/recognized_query_declaration.bend as RecognizedQueryDeclarationimport Base
import bendvy-ecs-core@0.1.0.4/internal/compact_operational_frame.bend as F
31# Advanced runner projection: consume the declaration and obtain operations for
32# the compact opaque frame. Application callbacks receive these through their
33# Ops parameter; they should not construct or unwrap a compact frame themselves.
34def caps(~S:Data,~Store:Type,~R:Type,~E:Data,~Ops:Type -> Type,declaration:Declaration<S,Store,R,E,Ops>) -> Ops(F.Frame<S,Store,R,E>):
35 match declaration:
36 case Declaration{_,caps,_}:caps(Unit{})