[commit: ghc] wip/dwarf-bindists, wip/pare-down-ci, wip/std-hdr-llf, wip/test-hadrian-caching, wip/validate-ci, wip/zip7-fusion: Comments only, in GhcPrelude (3f73f08)

git at git.haskell.org git at git.haskell.org
Thu Feb 21 15:08:29 UTC 2019


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

On branches: wip/dwarf-bindists,wip/pare-down-ci,wip/std-hdr-llf,wip/test-hadrian-caching,wip/validate-ci,wip/zip7-fusion
Link       : http://ghc.haskell.org/trac/ghc/changeset/3f73f081d675fd35ee0af0facc05a046d379ef26/ghc

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

commit 3f73f081d675fd35ee0af0facc05a046d379ef26
Author: Simon Peyton Jones <simonpj at microsoft.com>
Date:   Tue Feb 19 08:46:34 2019 +0000

    Comments only, in GhcPrelude


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

3f73f081d675fd35ee0af0facc05a046d379ef26
 compiler/utils/GhcPrelude.hs | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/compiler/utils/GhcPrelude.hs b/compiler/utils/GhcPrelude.hs
index 3437e65..dd78f15 100644
--- a/compiler/utils/GhcPrelude.hs
+++ b/compiler/utils/GhcPrelude.hs
@@ -5,7 +5,11 @@
 -- This module serves as a replacement for the "Prelude" module
 -- and abstracts over differences between the bootstrapping
 -- GHC version, and may also provide a common default vocabulary.
---
+
+-- Every module in GHC
+--   * Is compiled with -XNoImplicitPrelude
+--   * Explicitly imports GhcPrelude
+
 module GhcPrelude (module X) where
 
 -- We export the 'Semigroup' class but w/o the (<>) operator to avoid



More information about the ghc-commits mailing list