Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upAdd Dict.filterMap, analogous to List.filterMap #743
Conversation
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
jvoigtlaender
Oct 30, 2016
Contributor
Please read https://github.com/elm-lang/core/blob/master/CONTRIBUTING.md#adding-new-functions, and as a longer comment/explanation also https://github.com/elm-lang/core/issues/738#issuecomment-256410124.
I'm closing here.
|
Please read https://github.com/elm-lang/core/blob/master/CONTRIBUTING.md#adding-new-functions, and as a longer comment/explanation also https://github.com/elm-lang/core/issues/738#issuecomment-256410124. I'm closing here. |
jvoigtlaender
closed this
Oct 30, 2016
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
jvoigtlaender
Oct 30, 2016
Contributor
http://package.elm-lang.org/packages/elm-community/dict-extra/latest would be a natural place to add your function.
|
http://package.elm-lang.org/packages/elm-community/dict-extra/latest would be a natural place to add your function. |
kirchner commentedOct 30, 2016
Add this function, so you don't have to convert the dictionary to a list, apply List.filterMap and then convert back to a dictionary.