[commit: ghc] ghc-8.6: Fixed typo in exponent example (95b7b0a)
git at git.haskell.org
git at git.haskell.org
Fri Sep 7 13:35:58 UTC 2018
Repository : ssh://git@git.haskell.org/ghc
On branch : ghc-8.6
Link : http://ghc.haskell.org/trac/ghc/changeset/95b7b0a05368359746360bf4f33de52b43a97b37/ghc
>---------------------------------------------------------------
commit 95b7b0a05368359746360bf4f33de52b43a97b37
Author: chris-bacon <chrisbacon2009 at hotmail.com>
Date: Mon Aug 27 13:45:47 2018 +0100
Fixed typo in exponent example
(cherry picked from commit 36c1431d9d2d06049190cc0888dbfaee8e2179d6)
>---------------------------------------------------------------
95b7b0a05368359746360bf4f33de52b43a97b37
libraries/base/GHC/Natural.hs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libraries/base/GHC/Natural.hs b/libraries/base/GHC/Natural.hs
index a35688d..819ce5e 100644
--- a/libraries/base/GHC/Natural.hs
+++ b/libraries/base/GHC/Natural.hs
@@ -124,7 +124,7 @@ divZeroError = raise# divZeroException
-- | Type representing arbitrary-precision non-negative integers.
--
--- >>> 2^20 :: Natural
+-- >>> 2^100 :: Natural
-- 1267650600228229401496703205376
--
-- Operations whose result would be negative @'throw' ('Underflow' :: 'ArithException')@,
More information about the ghc-commits
mailing list