summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2019-12-06 16:00:31 -0500
committerGabor Greif <ggreif@gmail.com>2019-12-07 17:33:19 +0100
commitaccd9fbe11c3bfbb82d6e58700a3fd77a9678553 (patch)
tree4f288343a88638c69caa19409e5062752985d24c
parent3f9dc8c68ce89fb5a1d31eebd58aff363bdcd473 (diff)
downloadhaskell-wip/ggreif-8.8.2-fix.tar.gz
base: Fix incorrect @since in GHC.Naturalwip/ggreif-8.8.2-fix
Fixes #17547.
-rw-r--r--libraries/base/GHC/Natural.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/libraries/base/GHC/Natural.hs b/libraries/base/GHC/Natural.hs
index fef76df43b..bdc9243886 100644
--- a/libraries/base/GHC/Natural.hs
+++ b/libraries/base/GHC/Natural.hs
@@ -228,7 +228,7 @@ remNatural (NatJ# n) (NatS# d) = NatS# (remBigNatWord n d)
remNatural (NatJ# n) (NatJ# d) = bigNatToNatural (remBigNat n d)
-- {-# CONSTANT_FOLDED remNatural #-}
--- | @since 4.X.0.0
+-- | @since 4.12.0.0
naturalToInteger :: Natural -> Integer
naturalToInteger (NatS# w) = wordToInteger w
naturalToInteger (NatJ# bn) = Jp# bn