Skip to content
Snippets Groups Projects
Commit 7e7e5a8e authored by Ben Gamari's avatar Ben Gamari
Browse files

base: Fix incorrect @since in GHC.Natural

Fixes #17547.
parent 815ee4bc
No related branches found
No related tags found
No related merge requests found
...@@ -228,7 +228,7 @@ remNatural (NatJ# n) (NatS# d) = NatS# (remBigNatWord n d) ...@@ -228,7 +228,7 @@ remNatural (NatJ# n) (NatS# d) = NatS# (remBigNatWord n d)
remNatural (NatJ# n) (NatJ# d) = bigNatToNatural (remBigNat n d) remNatural (NatJ# n) (NatJ# d) = bigNatToNatural (remBigNat n d)
-- {-# CONSTANT_FOLDED remNatural #-} -- {-# CONSTANT_FOLDED remNatural #-}
-- | @since 4.X.0.0 -- | @since 4.12.0.0
naturalToInteger :: Natural -> Integer naturalToInteger :: Natural -> Integer
naturalToInteger (NatS# w) = wordToInteger w naturalToInteger (NatS# w) = wordToInteger w
naturalToInteger (NatJ# bn) = Jp# bn naturalToInteger (NatJ# bn) = Jp# bn
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment