User-friendly access to SmallArray# and SmallMutableArray#

Edward Kmett ekmett at gmail.com
Mon Jun 27 16:12:36 UTC 2016


>From a core libraries perspective it'd be good to have these in one place.
Right now we have them in primitive.

If we're going to start duplicating *that* much code, it seems it'd be
worth incurring the dependency, which would get David his transformers
dependency in turn.

-Edward

On Sat, Jun 25, 2016 at 9:46 PM, wren romano <wren at community.haskell.org>
wrote:

> On Wed, Jun 22, 2016 at 1:01 PM, David Feuer <david.feuer at 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!
>
> Depending on what you have in mind, I do have some (relatively)
> user-friendly wrappers in the unreleased new version of
> bytestring-trie. I mention because I'm planning on moving those
> wrappers into containers (and making them public so bytestirng-trie
> can reused them) once I get a chance to add the AMT implementation for
> IntMap this autumn.
>
> --
> Live well,
> ~wren
> _______________________________________________
> Libraries mailing list
> Libraries at haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/libraries
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/libraries/attachments/20160627/79c96f3f/attachment.html>


More information about the Libraries mailing list