On Tuesday, February 25, 2014 4:24:48 PM UTC+1, Stefan Karpinski wrote: > > We've discussed it, but at this point function call syntax is not > overloadable. Grid.jl <https://github.com/timholy/Grid.jl> overloads the > indexing operator for this purpose instead. >
Many thanks thanks for your answer. Maybe some day then. At least now I know that I should think of some solution myself. :) Anyway, an overloaded () operator would be much more convenient than [] in my case - there would be a single way for accessing a method, f(), where f is either a `function` object or a 'struct-type' object.