ParamPipe - parameterized pipe in Elixir

Frankly speaking, I find the parametrized pipe hard to read and understand, so I don’t really have an intention to use the library. Having said that, I applaud your persistence and I’m very happy that Elixir allows you to even do these things!

On a side note, I think an explicitly “indexed” pipe would gain my interest (I’m looking at you File.write). Something like:

data
|> foo(1, 2)         # pipe into the first argument
|>> bar(4, _, 6)     # pipe into the second

So the idea is here that there’s a new operator and I can explicitly state which argument I want to pipe into. The |>> is far from perfect, since it breaks the alignment.