projects
/
ghc-base.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[project @ 2002-10-09 17:08:18 by malcolm]
[ghc-base.git]
/
Data
/
List.hs
diff --git
a/Data/List.hs
b/Data/List.hs
index
63277f3
..
398e8b2
100644
(file)
--- a/
Data/List.hs
+++ b/
Data/List.hs
@@
-15,6
+15,10
@@
module Data.List
(
+#ifdef __NHC__
+ [] (..)
+ ,
+#endif
elemIndex -- :: (Eq a) => a -> [a] -> Maybe Int
, elemIndices -- :: (Eq a) => a -> [a] -> [Int]
@@
-132,6
+136,7
@@
module Data.List
) where
+import Prelude hiding (Maybe(..))
import Data.Maybe
#ifdef __GLASGOW_HASKELL__