cg

Input Stack:
keys: List[String]
Expr
Output Stack:
Expr
 

Recursively add a list of keys to group by expressions. This can be useful for tooling that needs to adjust existing expressions to include keys in the grouping.

BeforeAfter
name,sps,:eq,
(,nf.app,),:by
name,sps,:eq,
(,nf.app,),:by,
(,nf.cluster,),:cg