summaryrefslogtreecommitdiff
path: root/compiler/GHC/Settings/Constants.hs
diff options
context:
space:
mode:
authorGHC GitLab CI <ghc-ci@gitlab-haskell.org>2020-09-26 12:56:01 +0000
committerBen Gamari <ben@smart-cactus.org>2020-10-13 10:27:04 -0400
commit6e5a83bb6052f9e251a54026294c87a5bd650c93 (patch)
treefa6e74cdeaf8afd104b36be6a48fcb036cfdf0ad /compiler/GHC/Settings/Constants.hs
parent6a243e9daaa6c17c0859f47ae3a098e680aa28cf (diff)
downloadhaskell-wip/tuple-width.tar.gz
Extend mAX_TUPLE_SIZE to 64wip/tuple-width
As well a ctuples and sums.
Diffstat (limited to 'compiler/GHC/Settings/Constants.hs')
-rw-r--r--compiler/GHC/Settings/Constants.hs8
1 files changed, 4 insertions, 4 deletions
diff --git a/compiler/GHC/Settings/Constants.hs b/compiler/GHC/Settings/Constants.hs
index 6eeaab84df..95dfe6a177 100644
--- a/compiler/GHC/Settings/Constants.hs
+++ b/compiler/GHC/Settings/Constants.hs
@@ -11,14 +11,14 @@ hiVersion = read (cProjectVersionInt ++ cProjectPatchLevel) :: Integer
-- All pretty arbitrary:
mAX_TUPLE_SIZE :: Int
-mAX_TUPLE_SIZE = 62 -- Should really match the number
- -- of decls in Data.Tuple
+mAX_TUPLE_SIZE = 64 -- Should really match the number
+ -- of decls in GHC.Tuple
mAX_CTUPLE_SIZE :: Int -- Constraint tuples
-mAX_CTUPLE_SIZE = 62 -- Should match the number of decls in GHC.Classes
+mAX_CTUPLE_SIZE = 64 -- Should match the number of decls in GHC.Classes
mAX_SUM_SIZE :: Int
-mAX_SUM_SIZE = 62
+mAX_SUM_SIZE = 64
-- | Default maximum depth for both class instance search and type family
-- reduction. See also #5395.