
5 Sep
2007
5 Sep
'07
8:07 p.m.
2007/9/5, Chaddaï Fouché
indeed only primitive values that fits in 32 bits can be unboxed
Note that there are some cases which could make you doubt that, like the UArray Bool (bool isn't a primitive type), but that's because UArray Bool don't really use unboxed bool, it's a specific implementation (array of bits). Also I think what I said is true for now, but I heard sum of void constructors could be unboxed in a future version of GHC, did I misunderstood ? -- Jedaï