I'm the mainter of Pipe.jl (https://github.com/oxinabox/Pipe.jl)
It is a very small and simple package (which is a good thing, lets you 
combine lots of small independent parts)
It should be able to do what you want.
I think you want

@pipe x|>f(_,x)

I'm open to suggestions (please file them as issues),
I'll take a look at pipeR later on for ideas.

----



On Wednesday, 10 June 2015 19:39:33 UTC+8, Jihui Han wrote:
>
> In R, one can pipe with assignment using library "pipeR 
> <https://github.com/renkun-ken/pipeR>". Julia only provide a simple pipe 
> operator "|>". If I want pipe with assignment, what shall I do?
> For example:
> x|>f(.,y)
>
> function f have two arguments, I want above expression is equivalent to 
> f(x,y).
>
>
>

Reply via email to