Unboxed Vectors of newtype'd values

Simon Peyton-Jones simonpj at microsoft.com
Mon Jun 4 12:43:49 CEST 2012


| I'd like some compiler support for abstracting over unboxed values in
| general and e.g. generate Unbox instances automatically. Then we could
| have other unboxed structures than Vector.

Could someone post an example or two of the problem being described here?

Simon

| -----Original Message-----
| From: libraries-bounces at haskell.org [mailto:libraries-
| bounces at haskell.org] On Behalf Of Johan Tibell
| Sent: 30 May 2012 17:57
| To: Bryan O'Sullivan
| Cc: Jake McArthur; libraries at haskell.org
| Subject: Re: Unboxed Vectors of newtype'd values
| 
| On Wed, May 30, 2012 at 9:50 AM, Bryan O'Sullivan <bos at serpentine.com>
| wrote:
| > Likewise, if anyone is listening :-)
| 
| Here too.
| 
| I'd like some compiler support for abstracting over unboxed values in
| general and e.g. generate Unbox instances automatically. Then we could
| have other unboxed structures than Vector.
| 
| _______________________________________________
| Libraries mailing list
| Libraries at haskell.org
| http://www.haskell.org/mailman/listinfo/libraries





More information about the Libraries mailing list