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 58 forks source link

Add `reverseFilter`, following the style of `reverseMap` #177

Closed nibrivia closed 12 months ago

nibrivia commented 12 months ago

Similarly to reverseMap, adds an tail-call optimized, but reversing filter operation: reverseFilter.

Chadtech commented 12 months ago

This looks great. Thank you! I ran some benchmarks here and I can see it is more performant: https://ellie-app.com/nn24pGfpq82a1