Thank you.
On Sun, May 29, 2016 at 9:21 PM, Yichao Yu wrote:
> On Sun, May 29, 2016 at 8:44 PM, Cedric St-Jean
> wrote:
> > This is probably a conscious decision, but I was surprised that, for any
> > module (eg. PyCall):
>
> Yes, `Main` is the central place where all imported modules are
> def
On Sun, May 29, 2016 at 8:44 PM, Cedric St-Jean wrote:
> This is probably a conscious decision, but I was surprised that, for any
> module (eg. PyCall):
Yes, `Main` is the central place where all imported modules are
defined. This directly follows that toplevel modules are evaluated in
`Main` (i.
This is probably a conscious decision, but I was surprised that, for any
module (eg. PyCall):
module A
import PyCall
end
PyCall # no error - PyCall was brought into Main
whereas
module A
import PyCall
end
module B
PyCall # error - PyCall not defined
end
Furthermore
PyCall = 0
module B