Ticket #6148 (closed bug: fixed)
63-tuples are not rejected when written using (,,,)
Description
Corner case with tuples: 'b' should give the same error as 'a'.
Prelude> let a = (0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0)
<interactive>:2:9:
A 63-tuple is too large for GHC
(max size is 62)
Workaround: use nested tuples or define a data type
Prelude> let b = (,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,)
ByteCodeLink.lookupIE
During interactive linking, GHCi couldn't find the following symbol:
ghczmprim_GHCziTuple_Z63T_con_info or ghczmprim_GHCziTuple_Z63T_static_info
This may be due to you not asking GHCi to load extra object files,
archives or DLLs needed by your current session. Restart GHCi, specifying...
Change History
Note: See
TracTickets for help on using
tickets.
