X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=Data%2FList.hs;h=f2de14ad21ad421028f5eed9de497bd31e414611;hb=a7fdfabc5f9d97b2cbcd6fe80b70f0b2d1d0db95;hp=63277f335579ec55904477bfaea6708e8ddf1139;hpb=00ad3706672e7d739be53af26c345500e44b0d70;p=ghc-base.git diff --git a/Data/List.hs b/Data/List.hs index 63277f3..f2de14a 100644 --- 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,10 @@ module Data.List ) where +#ifdef __NHC__ +import Prelude hiding (Maybe(..)) +#endif + import Data.Maybe #ifdef __GLASGOW_HASKELL__