Ticket #2364 (closed feature request: fixed)
Make the maximum tuple size accesible
|Reported by:||fons||Owned by:|
|Type of failure:||Difficulty:||Unknown|
|Test Case:||Blocked By:|
In relation with the implementation of a Haskell-embedded DSL, I'm using Template Haskell to automatically generate instances for tuples.
I'd like to use tuples as big as GHC allows me to. However, the upper size limit (62 as of GHC 6.8.2) is not accessible by the end user. That forces me to hardcode the size, which, as you can imagine, is not a good practice since the value can change in future versions of the compiler.
Thus, I propose to include a constant (e.g. maxTupleSize) somewhere under GHC.* (maybe GHC.Exts) for that purpose.