On Saturday, 23 August 2014 06:09:00 UTC+2, jason wrote: > > On 8/21/14, 11:36, Bill Hart wrote: > > You can define the A.b syntax in Julia if you should so desire. It's > > essentially just another kind of method overload in Julia. > > > > And then, it supports A.<tab> giving a list of all the things that could > > follow the dot, just as Python would. > > Are you saying you can overload the dot operator? I thought that was > still an open issue (https://github.com/JuliaLang/julia/issues/1974). >
I don't think it has been implemented just yet. I thought it would make 0.3, but it looks like nothing has happened in that direction yet. But there's absolutely nothing preventing it, except for the fact that the Julia developers don't seem to want a profusion of dots everywhere. It's not such a useful thing in a language with multimethods, I think. > > Harold: Julia does have a module system, which Bill illustrated, that > uses the dot to access members of the module. And a dot also accesses > fields of a type instance. > > Thanks, > > Jason > > > -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To post to this group, send email to sage-devel@googlegroups.com. Visit this group at http://groups.google.com/group/sage-devel. For more options, visit https://groups.google.com/d/optout.