summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBodigrim <andrew.lelechenko@gmail.com>2017-11-09 17:53:57 -0500
committerBen Gamari <ben@smart-cactus.org>2017-11-09 18:31:22 -0500
commit0656cb4add7c45382f6a5c3234ad5c75d3e5f112 (patch)
tree1a9965ec46a66152a16d58f918ee17207d18d881
parent5834da4872877736eefb85daedaf7b137ae702a1 (diff)
downloadhaskell-0656cb4add7c45382f6a5c3234ad5c75d3e5f112.tar.gz
Update comment in GHC.Real (trac#14432)
Reviewers: hvr, bgamari Reviewed By: bgamari Subscribers: rwbarton, thomie GHC Trac Issues: #14432 Differential Revision: https://phabricator.haskell.org/D4171
-rw-r--r--libraries/base/GHC/Real.hs4
1 files changed, 1 insertions, 3 deletions
diff --git a/libraries/base/GHC/Real.hs b/libraries/base/GHC/Real.hs
index 85a160258c..f30a53e7a6 100644
--- a/libraries/base/GHC/Real.hs
+++ b/libraries/base/GHC/Real.hs
@@ -527,9 +527,7 @@ x ^^ n = if n >= 0 then x^n else recip (x^(negate n))
be statically resolved to 0 or 1 are rare.
It might be desirable to have corresponding rules also for
- exponents of other types, in particular Word, but we can't
- have those rules here (importing GHC.Word or GHC.Int would
- create a cyclic module dependency), and it's doubtful they
+ exponents of other types (e. g., Word), but it's doubtful they
would fire, since the exponents of other types tend to get
floated out before the rule has a chance to fire.