[commit: packages/haskell2010] master: Use explicit import-list for GHC.Base (979e43f)

git at git.haskell.org git at git.haskell.org
Sun Sep 21 09:18:44 UTC 2014


Repository : ssh://git@git.haskell.org/haskell2010

On branch  : master
Link       : http://git.haskell.org/packages/haskell2010.git/commitdiff/979e43fad04603ea533cc9a8b948fde9e801705e

>---------------------------------------------------------------

commit 979e43fad04603ea533cc9a8b948fde9e801705e
Author: Herbert Valerio Riedel <hvr at gnu.org>
Date:   Sun Sep 21 11:16:45 2014 +0200

    Use explicit import-list for GHC.Base
    
    This improves forward-compatibility with base


>---------------------------------------------------------------

979e43fad04603ea533cc9a8b948fde9e801705e
 Prelude.hs | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/Prelude.hs b/Prelude.hs
index 71d36a5..e4a03d7 100644
--- a/Prelude.hs
+++ b/Prelude.hs
@@ -130,7 +130,9 @@ import "base" Data.Either
 import "base" Data.Maybe
 import "base" Data.Tuple
 
-import GHC.Base
+import GHC.Base (($), ($!), (&&), (.), (||), Bool(..), Char, Eq(..), Int,
+                 Ord(..), Ordering(..), String, asTypeOf, const, error, flip,
+                 id, not, otherwise, seq, undefined, until)
 import Text.Read
 import GHC.Enum
 import GHC.Num



More information about the ghc-commits mailing list