diff options
author | Sylvain Henry <sylvain@haskus.fr> | 2020-07-06 15:08:31 +0200 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2020-07-07 13:56:11 -0400 |
commit | d3bd68978476487591fc60f7feb7cfb36b8fc3a3 (patch) | |
tree | a25b5760381e7a95d122d114812467c4d085c31d /testsuite/tests/numeric | |
parent | 180b63136f25d9fedb764cb9bc23637e7781ed4e (diff) | |
download | haskell-d3bd68978476487591fc60f7feb7cfb36b8fc3a3.tar.gz |
BigNum: rename BigNat types
Before this patch BigNat names were confusing because we had:
* GHC.Num.BigNat.BigNat: unlifted type used everywhere else
* GHC.Num.BigNat.BigNatW: lifted type only used to share static constants
* GHC.Natural.BigNat: lifted type only used for backward compatibility
After this patch we have:
* GHC.Num.BigNat.BigNat#: unlifted type
* GHC.Num.BigNat.BigNat: lifted type (reexported from GHC.Natural)
Thanks to @RyanGlScott for spotting this.
Diffstat (limited to 'testsuite/tests/numeric')
-rw-r--r-- | testsuite/tests/numeric/should_run/T18359.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/tests/numeric/should_run/T18359.hs b/testsuite/tests/numeric/should_run/T18359.hs index 16deba75dd..fced8c08d6 100644 --- a/testsuite/tests/numeric/should_run/T18359.hs +++ b/testsuite/tests/numeric/should_run/T18359.hs @@ -15,4 +15,4 @@ foo2 = case raiseDivZero of I# _ -> print "NOPE" foo :: IO () -foo = print (W# (bigNatRemWord# (bigNatOne void#) 0##)) +foo = print (W# (bigNatRemWord# (bigNatOne# void#) 0##)) |