[Haskell-cafe] Mutable but boxed arrays?

Chaddaï Fouché chaddai.fouche at gmail.com
Wed Sep 5 16:07:19 EDT 2007

2007/9/5, Chaddaï Fouché <chaddai.fouche at 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 ?


More information about the Haskell-Cafe mailing list