you have not actually created a module. here's what Julia's thinking:

$ julia foo.jl
include("foo.jl") # OK, I want to execute the code in foo.jl
> using foo # I don't know a module foo, but I do know a file named foo.jl
which might define foo if I ran it
> include("foo.jl") # OK, I want to execute the code in foo.jl
> > using foo # I don't know a module foo, but I do know a file named
foo.jl which might define foo if I ran it
> > include("foo.jl") # OK, I want to execute the code in foo.jl
.
.
.


On Mon, Sep 29, 2014 at 9:45 AM, Magnus Lie Hetland <[email protected]> wrote:

> Not sure what was unclear about my original post, but here's a simplified
> explanation.
>
> The script, named foo:
>
> using Foo
>
> The steps for running the script:
>
> $ julia foo
>
> On OS X, this hangs. In my opinion, it should not.
>

Reply via email to