X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=Data%2FMonoid.hs;h=aaefd42169c7bdc85ba028ddd1d1df4aeda4089b;hb=7a97ec4b12e1fbec5505f82032cf4dc435b5a60c;hp=3eba6bb8909d96ad1a04b3601eea48b1caf476d2;hpb=1c55c7cd9f9a3f48aed3740def88dec3a33ae920;p=ghc-base.git diff --git a/Data/Monoid.hs b/Data/Monoid.hs index 3eba6bb..aaefd42 100644 --- a/Data/Monoid.hs +++ b/Data/Monoid.hs @@ -1,3 +1,5 @@ +{-# LANGUAGE CPP, NoImplicitPrelude #-} + ----------------------------------------------------------------------------- -- | -- Module : Data.Monoid @@ -30,7 +32,17 @@ module Data.Monoid ( Last(..) ) where +-- Push down the module in the dependency hierarchy. +#if defined(__GLASGOW_HASKELL__) +import GHC.Base hiding (Any) +import GHC.Enum +import GHC.Num +import GHC.Read +import GHC.Show +import Data.Maybe +#else import Prelude +#endif {- -- just for testing