aboutsummaryrefslogtreecommitdiff
path: root/src/Map.hs
diff options
context:
space:
mode:
authorpanne <unknown>2005-01-16 15:41:25 +0000
committerpanne <unknown>2005-01-16 15:41:25 +0000
commitf1c4b8922e32871a26b8074ef12392b9b8c8e662 (patch)
tree4b84918e0cab4d3f831c975a9ad204c88cb38f24 /src/Map.hs
parent951d840870e67b452387b35c72d235511ed9163c (diff)
[haddock @ 2005-01-16 15:41:21 by panne]
Cleaned up imports and dropped support for GHC < 5.03, it never worked, anyway.
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