def mixed_clauses
bendvy-ecs-core@0.1.0.4 · ordinary_app_description.bend:10
import bendvy-ecs-core@0.1.0.4/ordinary_app_description.bend as OrdinaryAppDescription
import Base
import bendvy-ecs-core@0.1.0.4/ordinary_app_registration_fields.bend as Records
import bendvy-ecs-core@0.1.0.4/ordinary_query_declaration.bend as Query
10def mixed_clauses(~S:Data,uses:List<&2,Records.DeclaredUse>) -> List<&2,Query.Clause<S>>:
11 match uses:
12 case []:[]
13 case Records.DeclaredUse{_,_,key,mode} <> rest:Query.Clause{key,mode} <> mixed_clauses(~S,rest)