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

Closed
ghorn opened this Issue May 20, 2012 · 4 comments

Comments

Projects
None yet
4 participants
Owner

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.
d666f35

mvv commented Apr 11, 2014

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

Owner

tibbe commented Apr 12, 2014

Released as 0.2.4.0.

tibbe closed this Apr 12, 2014

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