On Thu, Jun 24, 2010 at 3:28 PM, Edward Kmett <ekmett@gmail.com> wrote:
I definitely agree that unboxing can help a great deal with performance and space utilization.

However, as containers does not currently require any exotic extensions, I think that perhaps a type family -based generic map would belong in another 'unboxed-containers' or 'adaptive-containers' package (both of which currently exist on hackage), as it dramatically extends the language extension footprint of containers, taking it from something that easily runs across a wide array of Haskell implementations to something very ghc-specific.

Good point. I plan to look into such a library this summer. Any non-strictness related API improvements to the containers package (e.g. strict folds) should carry over to a new, adaptable containers package.

-- Johan