Missing `Data.Map.mapWithKey`-like operation for `Data.HashMap` #41

ghorn opened this Issue May 20, 2012 · 4 comments


None yet
4 participants

tibbe commented May 21, 2012

I agree we should add this function. Note that it would not be much more efficient than fromList . toList, as the whole tree needs to be rebuilt.

I've been wishing for this as well.

@hrdinka hrdinka pushed a commit to hrdinka/unordered-containers that referenced this issue Jul 3, 2013

Christoph Hrdinka Add mapWithKey to export list (issue #41)
I really don't know why this has not been added to the export list earlier.
So here it is.

This fixes issue #41.

mvv commented Apr 11, 2014

Please consider releasing a new version on Hackage with the fix included.


tibbe commented Apr 12, 2014

Released as

tibbe closed this Apr 12, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment