projects
/
ghc-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
167f217
)
don't depend on Prelude (#4122)
author
Simon Marlow
<marlowsd@gmail.com>
Tue, 15 Jun 2010 10:56:31 +0000
(10:56 +0000)
committer
Simon Marlow
<marlowsd@gmail.com>
Tue, 15 Jun 2010 10:56:31 +0000
(10:56 +0000)
Data/Monoid.hs
patch
|
blob
|
history
diff --git
a/Data/Monoid.hs
b/Data/Monoid.hs
index
3eba6bb
..
b3233ba
100644
(file)
--- 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