On Wed, Apr 29, 2015 at 5:53 PM, David Gold <[email protected]> wrote:
> @Stefan: Out of curiosity, do you see any inherent problems in having > Julia automatically create such an "empty" function f in the module that > imports both Foo.f and Bar.f and then merge the (unambiguous) methods into > the automatically created f? (Or just automatically merge unambiguous > methods to whatever function already has the name f in the importing > module.) Or is it just not in the style of Julia (or in the vision of its > creators) to do something like that? > > Again, I'm just asking out of curiosity, as I'm finding this conversation > an interesting vehicle for learning about issues of scope and naming in > Julia. > Yes, all my arguments are against doing precisely that.
