[julia-users] Re: Function naming idioms in Julia

2014-04-11 Thread Jacques Rioux
> > Yes, but unfortunately, the piping operator, |>, can only be applied to >> functions taking a single argument. I really wish it could be applied to >> functions of any number of elements. >> >

[julia-users] Re: Function naming idioms in Julia

2014-04-11 Thread Simon Kornblith
It's rarely used, but |> may be what you're looking for: julia> X = zeros(50, 50); julia> X|>size (50,50) julia> X|>length 2500 On Friday, April 11, 2014 6:49:16 PM UTC-4, Ben Racine wrote: > > Hi all, > > I understand most of the mental maps between the common object-oriented > systems (Pytho