[commit: ghc] master: Comments only (c384bb1)

git at git.haskell.org git at git.haskell.org
Mon Aug 19 16:45:52 CEST 2013


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

On branch  : master
Link       : http://ghc.haskell.org/trac/ghc/changeset/c384bb1e30499bb4809dca60803a4066762ce5f4/ghc

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

commit c384bb1e30499bb4809dca60803a4066762ce5f4
Author: Jan Stolarek <jan.stolarek at p.lodz.pl>
Date:   Mon Aug 19 15:44:19 2013 +0100

    Comments only
    
    Documentation of Integer constant folding


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

c384bb1e30499bb4809dca60803a4066762ce5f4
 compiler/prelude/PrelRules.lhs |    1 +
 1 file changed, 1 insertion(+)

diff --git a/compiler/prelude/PrelRules.lhs b/compiler/prelude/PrelRules.lhs
index 53a0aa8..64a9f9b 100644
--- a/compiler/prelude/PrelRules.lhs
+++ b/compiler/prelude/PrelRules.lhs
@@ -919,6 +919,7 @@ builtinIntegerRules =
   rule_unop           "complementInteger"   complementIntegerName   complement,
   rule_Int_binop      "shiftLInteger"       shiftLIntegerName       shiftL,
   rule_Int_binop      "shiftRInteger"       shiftRIntegerName       shiftR,
+  -- See Note [Integer division constant folding] in libraries/base/GHC/Real.lhs
   rule_divop_one      "quotInteger"         quotIntegerName         quot,
   rule_divop_one      "remInteger"          remIntegerName          rem,
   rule_divop_one      "divInteger"          divIntegerName          div,





More information about the ghc-commits mailing list