RE: Which of the following PrimTyCons have a pointer-sized representations

2012-12-07 Thread Simon Peyton-Jones
You can use TyCon.tyConPrimRep, followed by primRepSizeW Simon | -Original Message- | From: glasgow-haskell-users-boun...@haskell.org [mailto:glasgow-haskell- | users-boun...@haskell.org] On Behalf Of Johan Tibell | Sent: 06 December 2012 23:47 | To: glasgow-haskell-users | Subject:

Re: Which of the following PrimTyCons have a pointer-sized representations

2012-12-07 Thread Johan Tibell
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)

Re: Which of the following PrimTyCons have a pointer-sized representations

2012-12-07 Thread Johan Tibell
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