Re: [julia-users] Re: a default module name?

2016-10-26 Thread Yichao Yu
On Wed, Oct 26, 2016 at 3:46 PM, Ryan Gardner wrote: > Oh, Main > > import Main.foo import ..foo > > Thanks. > > > On Wednesday, October 26, 2016 at 3:27:50 PM UTC-4, Ryan Gardner wrote: >> >> say I have code: >> >> >> type foo >>a >> end >> >> module MyModule >>#how do I use foo here?

[julia-users] Re: a default module name?

2016-10-26 Thread Ryan Gardner
Oh, Main import Main.foo Thanks. On Wednesday, October 26, 2016 at 3:27:50 PM UTC-4, Ryan Gardner wrote: > > say I have code: > > > type foo >a > end > > module MyModule >#how do I use foo here? >#can I >import .foo >#?? > end > > There must be a way to use global types in mo