And here I was thinking that we finally had definite proof linking Stefan 
Karpinski's viking hat to a certain sketch from a certain British comedy 
troupe...

On Wednesday, 18 December 2013 12:39:56 UTC+1, Ivar Nesje wrote:
>
> I think this is unintentional artifact because we can access the 
> namespaced properties inside a module. If you are in a module Mymodule that 
> has a function foo you can either use foo() or MyModule.foo(). That way 
> MyModule must be one of the names accessible inside MyModule.
>
> Maybe others have more insight to complement my guess.
>
> Ivar
>
> kl. 12:23:04 UTC+1 onsdag 18. desember 2013 skrev John Grogan følgende:
>>
>> If you fire up julia repl, and type
>>
>>   Core.<tab>
>>
>> you get tab completion of the Core module. One of the components is also 
>> called Core., so doing more tab completion...
>>
>>   Core.Core.<tab>
>>
>> Gives tab completion of the Core module, but with the path Core.Core.
>>
>> And it continues recursively
>>
>>   Core.Core.Core.<tab>
>>
>> I started yesterday and I'm still going...
>>
>> This also happens with user defined packages/modules, and using these 
>> recursive path lists work, but on using, it defaults to the top level. 
>>
>> eg
>>
>>   using Pkg.Pkg.Pgk.Pkg
>>   x = Pkg.myfunction(123)
>>
>> Anyway, I'm wondering if anyone can offer up the reason for this 
>> recursive behaviour?
>>
>> Thanks
>> John
>>
>>

Reply via email to