purescript-ordered-collections
purescript-ordered-collections copied to clipboard
Add function mapWithKey
Can mapWithKey be added for the times that you want to keep all items (opposed to mapMaybeWithKey)?
See the FunctorWithIndex instance https://github.com/purescript/purescript-ordered-collections/blob/313ec0c3556854cd4e4752a77a86b102fc41ad05/src/Data/Map/Internal.purs#L150
Thanks @natefaubion
Can a hint be added to documentation here? https://github.com/purescript/purescript-ordered-collections/blob/db50eee71868f743dab9f2f2675b4e0bd1e75839/src/Data/Map/Internal.purs#L651-L652