Unit unboxed tuples

Ian Lynagh igloo at earth.li
Fri Dec 23 14:17:00 CET 2011


On Fri, Dec 23, 2011 at 12:46:38PM +0000, Simon Peyton-Jones wrote:
> Dear GHC users
> 
> I've just discovered something very peculiar with unboxed tuples in GHC.

The problem is that there is no boxed singleton tuple, whereas there is
an unboxed singleton tuple, so there is a conflict between the data
constructor for singleton and unit, right?:

Arguments   Boxed      Unboxed
3           ( , , )    (# , , #)
2           ( , )      (# , #)
1                      (# #)
0           ()         (# #)


Thanks
Ian




More information about the Glasgow-haskell-users mailing list