summaryrefslogtreecommitdiff
path: root/src/runtime/haskell/PGF/Forest.hs
diff options
context:
space:
mode:
authorKrasimir Angelov <kr.angelov@gmail.com>2018-11-30 12:18:24 +0100
committerGitHub <noreply@github.com>2018-11-30 12:18:24 +0100
commitfdc5659f800bc37c51e3ddbdfdd0c8f3febb6b6c (patch)
treed1e817ac40effc2bae2cca0bb07b393b6e7d2a77 /src/runtime/haskell/PGF/Forest.hs
parentf898c250baf0d94f99b60bbf155c887442e40775 (diff)
parent4d34c7f66b1783423387c9dae359bd38f64426dd (diff)
Merge pull request #19 from MUSTE-Project/master
Fix deprecations from containers >= 0.4.0.0
Diffstat (limited to 'src/runtime/haskell/PGF/Forest.hs')
-rw-r--r--src/runtime/haskell/PGF/Forest.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/haskell/PGF/Forest.hs b/src/runtime/haskell/PGF/Forest.hs
index 2a680b7c9..d487f43d6 100644
--- a/src/runtime/haskell/PGF/Forest.hs
+++ b/src/runtime/haskell/PGF/Forest.hs
@@ -190,7 +190,7 @@ foldForest :: (FunId -> [PArg] -> b -> b) -> (Expr -> [String] -> b -> b) -> b -
foldForest f g b fcat forest =
case IntMap.lookup fcat forest of
Nothing -> b
- Just set -> Set.fold foldProd b set
+ Just set -> Set.foldr foldProd b set
where
foldProd (PCoerce fcat) b = foldForest f g b fcat forest
foldProd (PApply funid args) b = f funid args b