diff options
author | Ben Gamari <ben@smart-cactus.org> | 2019-12-06 16:00:31 -0500 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2019-12-10 19:56:25 -0500 |
commit | 7a5a6e0718144786c4e0eb7395ede271e57ff4b7 (patch) | |
tree | f1bcec9a9bf134d5a7d39f03c3c4ebe16bfeca2d | |
parent | 2f6b434fc96b1f48315e103f4a77fecc2da89471 (diff) | |
download | haskell-7a5a6e0718144786c4e0eb7395ede271e57ff4b7.tar.gz |
base: Fix incorrect @since in GHC.Natural
Fixes #17547.
-rw-r--r-- | libraries/base/GHC/Natural.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libraries/base/GHC/Natural.hs b/libraries/base/GHC/Natural.hs index e65b41a7e2..5912f75e29 100644 --- a/libraries/base/GHC/Natural.hs +++ b/libraries/base/GHC/Natural.hs @@ -237,7 +237,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 |