Re: [julia-users] "using " scope within a module

2014-03-28 Thread John Myles White
The first call is executed in Main since the DataFrames module hasn't started yet. The second loads names so that DataFrames can use those functions internally. This is not a pattern I'd encourage since it doesn't load names into the caller's namespace: it always loads them into Main. -- John

[julia-users] "using " scope within a module

2014-03-28 Thread RecentConvert
What is the scope of a module loaded within another module? I ask because while I was examining the workings of the DataFrames module I noticed it had duplicate calls of the Stats module. DataFrames.jl # Note that the two calls to using Stats in this file are # strictly required: one pulls th