Skip to content
This repository has been archived by the owner on Oct 4, 2020. It is now read-only.

Add traversal methods #53

Open
chrisdotcode opened this issue Dec 24, 2015 · 1 comment
Open

Add traversal methods #53

chrisdotcode opened this issue Dec 24, 2015 · 1 comment

Comments

@chrisdotcode
Copy link

The Haskell version of Data.Map has methods in which you can traverse a Map, and return a modified version of that map.

Some of those include: map, mapWithKey, traverseWithKey, mapAccm, etc..

To the best of my knowledge, none of this is currently implemented.

@hdgarrood
Copy link
Contributor

map we already have, via the Functor Map instance. For the others, it's pretty trivial if you go via List (Tuple k v), although of course these extra intermediate representations are unnecessary, so it might be nice to have versions in this library that don't do that.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants