#2364: Make the maximum tuple size accesible
--------------------------------+-------------------------------------------
Reporter: fons | Owner:
Type: feature request | Status: new
Priority: normal | Component: Compiler
Version: 6.8.2 | Severity: normal
Keywords: | Testcase:
Architecture: Unknown | Os: Unknown
--------------------------------+-------------------------------------------
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.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/2364>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler_______________________________________________
Glasgow-haskell-bugs mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs