summaryrefslogtreecommitdiff
path: root/libraries/base/GHC/Real.hs
diff options
context:
space:
mode:
authorTakenobu Tani <takenobu.hs@gmail.com>2017-02-04 10:25:21 +0000
committerMatthew Pickering <matthewtpickering@gmail.com>2017-02-04 10:27:30 +0000
commit4d31880a0bfb3bf653c86f844fc8cf332c955547 (patch)
tree2e3cd20bfcaea758a92347a2cf2015969e6182e3 /libraries/base/GHC/Real.hs
parent8d60d739489b2f5108b1786a3c2075e2a6062a6b (diff)
downloadhaskell-4d31880a0bfb3bf653c86f844fc8cf332c955547.tar.gz
Fix comment (old filename '.lhs') in libraries/
[skip ci] There are some old file names (*.lhs) at comments. (I'm fixing to read source code by newcomers.) * libraries/base/GHC/Base.hs - compiler/deSugar/DsListComp.lhs - PrelRules.lhs x2 - Base.lhs * libraries/base/GHC/IO.hs - PrimOp.lhs - GHC.IO.lhs - GHC.Exception.lhs * libraries/base/GHC/Real.hs - compiler/prelude/PrelRules.lhs * libraries/ghc-prim/GHC/Magic.hs - MkId.lhs x2 Reviewers: austin, hvr, bgamari Reviewed By: bgamari Subscribers: thomie Differential Revision: https://phabricator.haskell.org/D3060
Diffstat (limited to 'libraries/base/GHC/Real.hs')
-rw-r--r--libraries/base/GHC/Real.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/libraries/base/GHC/Real.hs b/libraries/base/GHC/Real.hs
index 39a7a9ddfd..17d56c6d8a 100644
--- a/libraries/base/GHC/Real.hs
+++ b/libraries/base/GHC/Real.hs
@@ -329,7 +329,7 @@ instance Real Integer where
--
-- Constant folding of quot, rem, div, mod, divMod and quotRem for
-- Integer arguments depends crucially on inlining. Constant folding
--- rules defined in compiler/prelude/PrelRules.lhs trigger for
+-- rules defined in compiler/prelude/PrelRules.hs trigger for
-- quotInteger, remInteger and so on. So if calls to quot, rem and so on
-- were not inlined the rules would not fire. The rules would also not
-- fire if calls to quotInteger and so on were inlined, but this does not