X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=Data%2FMonoid.hs;h=b3233ba13e071d09d1d7a11f049b08f11074f909;hb=c036187196d3b1fce93091196425ae9877953b5e;hp=3eba6bb8909d96ad1a04b3601eea48b1caf476d2;hpb=167f2174f717dc3698c9e66928860cd8e6fb822b;p=ghc-base.git diff --git a/Data/Monoid.hs b/Data/Monoid.hs index 3eba6bb..b3233ba 100644 --- a/Data/Monoid.hs +++ b/Data/Monoid.hs @@ -1,3 +1,4 @@ +{-# OPTIONS_GHC -XNoImplicitPrelude #-} ----------------------------------------------------------------------------- -- | -- Module : Data.Monoid @@ -30,7 +31,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