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 (Python, JavaScript) to Julia's multiple dispatch system. > > But, when a function really does logically belong to its first argument, I > (sometimes) find myself missing the function namespacing inherent to those > systems. I find myself wanting to do what one can do in R and inject a '.' > into the function name just for the illusion of namespacing. > > I suspect there must be a Julia idiom right under my nose that I'm > forgetting. > > Any help greatly appreciated. > > Thanks! > Ben Racine > >
