diff options
author | Tom Smeding <t.j.smeding@uu.nl> | 2025-03-20 18:32:22 +0100 |
---|---|---|
committer | Tom Smeding <t.j.smeding@uu.nl> | 2025-03-20 18:32:22 +0100 |
commit | d030802dd6d960afa80ac84a5580a46d39c02822 (patch) | |
tree | 0c40e8eea6fe12cab0bd74e5e4f457e13bbf9afd /src/AST/Count.hs | |
parent | 146a846f799f63cd98eee2149c417686adba17a9 (diff) |
Commutativity marker on fold1i
Diffstat (limited to 'src/AST/Count.hs')
-rw-r--r-- | src/AST/Count.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/AST/Count.hs b/src/AST/Count.hs index c0d8d2d..dc8ec72 100644 --- a/src/AST/Count.hs +++ b/src/AST/Count.hs @@ -115,7 +115,7 @@ occCountGeneral onehot unpush alter many = go WId EMaybe _ a b e -> re a <> re1 b <> re e EConstArr{} -> mempty EBuild _ _ a b -> re a <> many (re1 b) - EFold1Inner _ a b c -> many (unpush (unpush (go (WSink .> WSink .> w) a))) <> re b <> re c + EFold1Inner _ _ a b c -> many (unpush (unpush (go (WSink .> WSink .> w) a))) <> re b <> re c ESum1Inner _ e -> re e EUnit _ e -> re e EReplicate1Inner _ a b -> re a <> re b |