Enum.sum([1, 2, 3], &(&1 * 2))
Enum.map([1,2,3], &(&1 * 2)) |> Enum.sum()
--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/a6cb1e15-f32a-4e27-848d-ac8b80f080c0%40googlegroups.com.For more options, visit https://groups.google.com/d/optout.
I can't help but think that this request and the earlier doc improvements to `Enum.reduce_while/3` are stemming from the first challenge in the Advent of Code.
--
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/fb7ab97c-3b0d-4772-9525-617cc765414a%40googlegroups.com.