traverseWithKey for Data.Map et. al.

roconnor at theorem.ca roconnor at theorem.ca
Sun Nov 3 18:13:52 UTC 2013


On Sun, 3 Nov 2013, roconnor at theorem.ca wrote:

> Has there yet been a proposal for adding
>
> traverseWithKey :: Applicative f => (k -> a -> f b) -> Map k a -> f (Map k b)
>
> to Data.Map and friends yet?
>
> If not I'll draw up a proposal.

Oops, it has been drawn to my attention that this function already exists. 
I was looking at very outdated docs.  Sorry.

-- 
Russell O'Connor                                      <http://r6.ca/>
``All talk about `theft,''' the general counsel of the American Graphophone
Company wrote, ``is the merest claptrap, for there exists no property in
ideas musical, literary or artistic, except as defined by statute.''


More information about the Libraries mailing list