projects
/
ghc-base.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add GHC.HetMet.{hetmet_kappa,hetmet_kappa_app}
[ghc-base.git]
/
Data
/
Monoid.hs
diff --git
a/Data/Monoid.hs
b/Data/Monoid.hs
index
3eba6bb
..
aaefd42
100644
(file)
--- a/
Data/Monoid.hs
+++ b/
Data/Monoid.hs
@@
-1,3
+1,5
@@
+{-# LANGUAGE CPP, NoImplicitPrelude #-}
+
-----------------------------------------------------------------------------
-- |
-- Module : Data.Monoid
-----------------------------------------------------------------------------
-- |
-- Module : Data.Monoid
@@
-30,7
+32,17
@@
module Data.Monoid (
Last(..)
) where
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
import Prelude
+#endif
{-
-- just for testing
{-
-- just for testing