summaryrefslogtreecommitdiff
path: root/src/AST/Count.hs
diff options
context:
space:
mode:
authorTom Smeding <tom@tomsmeding.com>2024-11-08 22:17:56 +0100
committerTom Smeding <tom@tomsmeding.com>2024-11-08 22:17:56 +0100
commitcbe6472a14cc0887295034bb29546dd1a1f083fd (patch)
tree2fa6a20f584d58ac3b89074673990a16cdc7d5b2 /src/AST/Count.hs
parent4fcdb7118e0084f192753ea6c70394352a27d5ed (diff)
WIP maximum/minimum
Diffstat (limited to 'src/AST/Count.hs')
-rw-r--r--src/AST/Count.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/AST/Count.hs b/src/AST/Count.hs
index 364773a..22a4da6 100644
--- a/src/AST/Count.hs
+++ b/src/AST/Count.hs
@@ -119,6 +119,8 @@ occCountGeneral onehot unpush alter many = go WId
ESum1Inner _ e -> re e
EUnit _ e -> re e
EReplicate1Inner _ a b -> re a <> re b
+ EMaximum1Inner _ e -> re e
+ EMinimum1Inner _ e -> re e
EConst{} -> mempty
EIdx0 _ e -> re e
EIdx1 _ a b -> re a <> re b