Unpack primitive types by default in data

Simon Peyton-Jones simonpj at microsoft.com
Fri Feb 17 09:02:57 CET 2012


You do know about -funbox-strict-fields, a flag that exists already, don't you.  (Sorry if I'm behind the curve here; have not followed the thread.)

S

| -----Original Message-----
| From: glasgow-haskell-users-bounces at haskell.org [mailto:glasgow-haskell-
| users-bounces at haskell.org] On Behalf Of Johan Tibell
| Sent: 17 February 2012 01:14
| To: glasgow-haskell-users
| Subject: Re: Unpack primitive types by default in data
| 
| On Thu, Feb 16, 2012 at 4:25 PM, Johan Tibell <johan.tibell at gmail.com> wrote:
| > I've been thinking about this some more and I think we should
| > definitely unpack primitive types (e.g. Int, Word, Float, Double,
| > Char) by default.
| 
| Initially we could hide this feature behind a new
| -funbox-strict-primitive-fields, but I definitely think we should push
| towards making it the default as some of the benefit (especially for
| beginners) comes from that.
| 
| -- Johan
| 
| _______________________________________________
| Glasgow-haskell-users mailing list
| Glasgow-haskell-users at haskell.org
| http://www.haskell.org/mailman/listinfo/glasgow-haskell-users





More information about the Glasgow-haskell-users mailing list