Thank you all that responded re: the support for call methods in 0.4 . Petr
On Thursday, January 15, 2015 at 7:28:06 AM UTC-8, Steven G. Johnson wrote: > > See also: > > > http://docs.julialang.org/en/latest/manual/methods/#call-overloading-and-function-like-objects > > On Thursday, January 15, 2015 at 4:29:57 AM UTC-5, Mauro wrote: >> >> > Is there an example of the use of this new syntax for 0.4? >> >> It's in the manual: >> http://docs.julialang.org/en/latest/stdlib/base/?highlight=call#Base.call >> >> http://docs.julialang.org/en/latest/manual/constructors/?highlight=call#constructors-call-and-conversion >> >> >> > Thanks, >> > >> > Petr >> > >> > On Sunday, January 11, 2015 at 12:20:39 PM UTC-8, Tobias Knopp wrote: >> >> >> >> The call syntax is part of 0.4 >> >> >> >> Cheers >> >> >> >> Tobi >> >> >> >> Am Sonntag, 11. Januar 2015 19:35:06 UTC+1 schrieb Petr Krysl: >> >>> >> >>> On Sunday, January 11, 2015 at 10:22:05 AM UTC-8, Tim Holy wrote: >> >>>> >> >>>> >> >>>> Already implement in julia 0.4. >> >>>> >> >>> >> >>> Very cool! Just checking: are you saying that the solution I >> proposed >> >>> with the empty types would actually address the problem of >> functions >> >>> being inefficient as when passed in as callbacks, and that this is >> now >> >>> part of 0.4? Or rather that the syntactic sugar of being able to call >> on >> >>> object is part of 0.4? >> >>> >> >>> Thanks, >> >>> >> >>> P >> >>> >> >> >> >>
