User-friendly access to SmallArray# and SmallMutableArray#

wren romano wren at community.haskell.org
Sun Jun 26 01:46:19 UTC 2016


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


More information about the Libraries mailing list