Probably at some point Julia will gain the ability to overload ".", which
will allow you to define methods with this syntax when it is convenient:
https://github.com/JuliaLang/julia/issues/1974
On Monday, January 27, 2014 8:13:29 AM UTC-5, Franta wrote:
>
> Is a dot notation for calling functions under consideration for future
> releases? I.e., in addition to function(a, b, c) you could use an
> alternative: a.function(b, c). This can be more readable sometimes, e.g.
> in fluent interfaces like dom.select("a").first().attr("href"). Of
> course, there are reasons against this feature, e.g. two ways to call a
> function would make the code less regular. Was this discusssed in the
> mailing list before, I didn't find anything?
>