diff options
-rw-r--r-- | libraries/base/GHC/Real.hs | 4 |
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. |