elm-community / list-extra

Convenience functions for working with List.
http://package.elm-lang.org/packages/elm-community/list-extra/latest
MIT License
135 stars 59 forks source link

new feat.: groupBy : (a -> String) -> List a -> Dict String (List a) #38

Closed witoldsz closed 7 years ago

witoldsz commented 7 years ago

Grouping lists by a key. I can implement it if you are short on time, just need a green light.

jvoigtlaender commented 7 years ago

It's always a good idea to first search whether the function already exists elsewhere. Specifically, http://klaftertief.github.io/elm-search/ lets you search by type. Entering your intended function type there, gives: http://package.elm-lang.org/packages/elm-community/dict-extra/1.3.2/Dict-Extra#groupBy

So your feature request here is superfluous.