--
You received this message because you are subscribed to the Google Groups "elixir-lang-core" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elixir-lang-co...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/a4fe903e-9661-448e-ba80-0b8cfc4f8bff%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/CAM9Rf%2BLpJYUfHg901KY3EF8MwrX3pXHEacrdRywM%3D-qkzw77RQ%40mail.gmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/CA%2Bvts6t8J36kgR-xUFKhEaEbUEoYB-8x%2BAmVArRt9%2BaFMnQxjA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
coll |> Enum.map(&my_fun/1) |> Enum.reverse()
If you are doing it with a large enough collection that performance becomes an issue look at using Stream. Personally I would do both of these before considering the Enum.reduce form, although my intuition may be off on this one.
To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/2EnP_1aGY4v5K8ZXMJqL8zuTgVP44FLKVnOIEDi1lMmjFaCEot_5CulHgsylJkTkgAWrYEPWNGWciN8nfc3ZeldoLcsm8lWSPecYdGx4Z1s%3D%40protonmail.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/2EnP_1aGY4v5K8ZXMJqL8zuTgVP44FLKVnOIEDi1lMmjFaCEot_5CulHgsylJkTkgAWrYEPWNGWciN8nfc3ZeldoLcsm8lWSPecYdGx4Z1s%3D%40protonmail.com.