: Which of the following PrimTyCons have a pointer-sized
| representations
|
| Hi,
|
| As part of some work I'm doing I need to classify all PrimTyCons by the
| size of their representation as fields*. I need to classify them into
| two classes: pointer-sized (or smaller) and larger-than-pointer-sized
On Fri, Dec 7, 2012 at 3:36 AM, Simon Peyton-Jones
simo...@microsoft.com wrote:
You can use TyCon.tyConPrimRep, followed by primRepSizeW
Looking at primRepSizeW I see that the only PrimRep that is bigger
than one word is Doubles, Int64s, and Word64s on 32-bit platforms.
Manuel (I think wisely)
On Fri, Dec 7, 2012 at 10:48 AM, Johan Tibell johan.tib...@gmail.com wrote:
On Fri, Dec 7, 2012 at 3:36 AM, Simon Peyton-Jones
simo...@microsoft.com wrote:
You can use TyCon.tyConPrimRep, followed by primRepSizeW
Looking at primRepSizeW I see that the only PrimRep that is bigger
than one
Hi,
As part of some work I'm doing I need to classify all PrimTyCons by
the size of their representation as fields*. I need to classify them
into two classes: pointer-sized (or smaller) and
larger-than-pointer-sized. I've managed to figure out a bunch of them
myself:
Pointer-sized: