I see that MyModule.x() does work, but since I exported the x function in 
MyModule, I expected x() to just work. Besides, writing MyModule.stuff 
everytime is quite cumbersome.

//A

On Saturday, October 4, 2014 7:55:40 PM UTC+2, Andrei Berceanu wrote:
>
> I created a file called MyModule.jl with the following content
>
> module MyModule
>
> export x, y
>
> x() = "x"
> y() = "y"
> p() = "p"
>
> end
>
> from the REPL, i can do
> using MyModule
> x()
> --> "x"
>
> Now I would like to use the Autoreload package for easy hacking on my 
> fancy new module.
> So in the REPL I do
>
> using Autoreload
> arequire("MyModule")
> x()
> --> ERROR: x not defined
>
> What gives?
>
> //A
>

Reply via email to