def grant
import bendvy-ecs-core@0.1.0.4/ordinary_query_declaration.bend as OrdinaryQueryDeclarationimport Base
37# Consume the declaration and extract its typed operations for a system body.
38# This supplies only G; a read declaration cannot confer write operations.
39def grant(~S:Data,~H:Type,~G:Type,declaration:Declaration<S,H,G>) -> G:
40 match declaration:
41 case Declaration{grant,_,_}:grant