Stream.zip and Enum.map are pretty good here. What might be missing is a function that takes a tuple and applies a function to its elements.
On Sun, May 21, 2017, 6:22 PM Ricky Han <[email protected]> wrote: > This function is very handy and should not be composed ad hoc because it > is an abstraction for binary function application. In Haskell and Python > functools it's a first class function > > -- > 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 [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/elixir-lang-core/541f9c0d-2fad-4bda-a4f1-279725844566%40googlegroups.com > <https://groups.google.com/d/msgid/elixir-lang-core/541f9c0d-2fad-4bda-a4f1-279725844566%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/CAOMhEnx7qpHTRSfi2AQhcCu-cAhH3cAUicb52ALSKZ5__EFDaQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
