aboutsummaryrefslogtreecommitdiff
path: root/src/Map.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Map.hs')
-rw-r--r--src/Map.hs10
1 files changed, 3 insertions, 7 deletions
diff --git a/src/Map.hs b/src/Map.hs
index 16cebdee..173d4fcf 100644
--- a/src/Map.hs
+++ b/src/Map.hs
@@ -11,15 +11,11 @@ module Map (
import Prelude hiding ( lookup )
-#if __GLASGOW_HASKELL__ < 503
-import FiniteMap
-#elif __GLASGOW_HASKELL__ < 603
-import Data.FiniteMap
-#else
+#if __GLASGOW_HASKELL__ >= 603
import Data.Map
-#endif
+#else
+import Data.FiniteMap
-#if __GLASGOW_HASKELL__ < 603
type Map k a = FiniteMap k a
member :: Ord k => k -> Map k a -> Bool