That's great, but primitive is not a GHC boot library, and it depends on transformers, ..., so I'm still stuck copying code into containers (the copy I made from discrimination falls back to MutableArray#).

On Jun 22, 2016 8:58 PM, "Edward Kmett" <ekmett@gmail.com> wrote:
I've been talking to Dan Doel about adding them to `primitive`, possibly w/ backwards compatibility wrappers.

On Wed, Jun 22, 2016 at 1:01 PM, David Feuer <david.feuer@gmail.com> wrote:
The only user-friendly wrappers I can find for SmallArray# and SmallMutableArray# are in Data.Discrimination.Internal.SmallArray in the discrimination package. What are the chances that we could get something like that in the array package, or possibly some other GHC boot package? I can't use discrimination in containers!

David

_______________________________________________
Libraries mailing list
Libraries@haskell.org
http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries