6 Sep
2007
6 Sep
'07
4:07 a.m.
2007/9/5, Chaddaï Fouché <chaddai.fouche@gmail.com>:
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ï