[commit: ghc] master: Remove old workaround for containers <= 0.3 (9156be5)

git at git.haskell.org git at git.haskell.org
Wed Nov 13 03:40:06 UTC 2013


Repository : ssh://git@git.haskell.org/ghc

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/9156be566e902d6997e09208826846c441cd6f41/ghc

>---------------------------------------------------------------

commit 9156be566e902d6997e09208826846c441cd6f41
Author: Patrick Palka <patrick at parcs.ath.cx>
Date:   Fri Nov 8 17:15:26 2013 -0500

    Remove old workaround for containers <= 0.3


>---------------------------------------------------------------

9156be566e902d6997e09208826846c441cd6f41
 compiler/utils/FiniteMap.lhs |    4 ----
 1 file changed, 4 deletions(-)

diff --git a/compiler/utils/FiniteMap.lhs b/compiler/utils/FiniteMap.lhs
index 94d1eef..b52f28c 100644
--- a/compiler/utils/FiniteMap.lhs
+++ b/compiler/utils/FiniteMap.lhs
@@ -27,10 +27,6 @@ deleteList ks m = foldl (flip Map.delete) m ks
 foldRight        :: (elt -> a -> a) -> a -> Map key elt -> a
 foldRight        = Map.fold
 foldRightWithKey :: (key -> elt -> a -> a) -> a -> Map key elt -> a
-#if (MIN_VERSION_containers(0,4,0))
 foldRightWithKey = Map.foldrWithKey
-#else
-foldRightWithKey = Map.foldWithKey
-#endif
 \end{code}
 



More information about the ghc-commits mailing list