You may find these links helpful:

   - *[RFC] Pipe modifiers* —
   
https://groups.google.com/forum/#!searchin/elixir-lang-core/pipe$20argument|sort:relevance/elixir-lang-core/NvZtZco7CeU/HozThRcCTJ0J
   - *Pipe Operator* —
   
https://groups.google.com/forum/#!searchin/elixir-lang-core/pipe$20argument|sort:relevance/elixir-lang-core/jKOJ1zUYwaE/SIKql6ybAQAJ
   - *Pipeline to second argument and precedence of &/1 and ./2* —
   
https://groups.google.com/forum/#!searchin/elixir-lang-core/pipe$20argument|sort:relevance/elixir-lang-
   core/WDePSnaiR5w/frCzs5xbG2wJ
   - *Pipe here operator? *—
   
https://groups.google.com/forum/#!searchin/elixir-lang-core/pipe$20argument|sort:relevance/elixir-lang-core/wTK072BdJus/GOUMaUrEEQAJ


On Mon, Aug 15, 2016 at 10:51 AM Aleff Souza <[email protected]> wrote:

> We all know that the pipe operator is very powerful and elegant, but what
> I think that is annoying sometimes is that it ONLY passes the result to the
> FIRST parameter of the next expression. So, I think it'd be nice to have
> some way where I could choose which parameter the left result would be
> passed.
>
> In Example, given a function foo/3:
>
> "Elixir"
> |> String.upcase
> |> foo(param1, _, param3)
>
> Where '_' is where the result from the previous expression would be passed
> on.
>
> --
> 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/b07c635a-0155-44f2-8fb3-b996f4d33fc7%40googlegroups.com
> <https://groups.google.com/d/msgid/elixir-lang-core/b07c635a-0155-44f2-8fb3-b996f4d33fc7%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/CAOtk34e0SqERn9t-APn-cdWW6U8wcY5sXU0hg-hk3F-KLZmaPg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to