[commit: ghc] master: Fixed typo in exponent example (36c1431)
git at git.haskell.org
git at git.haskell.org
Wed Aug 29 09:33:30 UTC 2018
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/36c1431d9d2d06049190cc0888dbfaee8e2179d6/ghc
>---------------------------------------------------------------
commit 36c1431d9d2d06049190cc0888dbfaee8e2179d6
Author: chris-bacon <chrisbacon2009 at hotmail.com>
Date: Mon Aug 27 13:45:47 2018 +0100
Fixed typo in exponent example
>---------------------------------------------------------------
36c1431d9d2d06049190cc0888dbfaee8e2179d6
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 0408ce6..71511d3 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 @'Control.Exception.throw'
More information about the ghc-commits
mailing list