[project @ 2003-04-17 15:17:07 by simonpj]
[ghc-base.git] / Data / List.hs
index 63277f3..f2de14a 100644 (file)
 
 module Data.List
    ( 
+#ifdef __NHC__
+     [] (..)
+   ,
+#endif
      elemIndex        -- :: (Eq a) => a -> [a] -> Maybe Int
    , elemIndices       -- :: (Eq a) => a -> [a] -> [Int]
 
@@ -132,6 +136,10 @@ module Data.List
 
    ) where
 
+#ifdef __NHC__
+import Prelude hiding (Maybe(..))
+#endif
+
 import Data.Maybe
 
 #ifdef __GLASGOW_HASKELL__