Hello,
Consider the following example from the julia manual page on `modules`.

~~~
 module MyModule

 export x, y

 x() = "x"
 y() = "y"
 p() = "p"

 end
~~~

Load the module by any method makes function `MyModule.p()` available
in the main workspace.

1. `using MyModule`
2. `using MyModule.x`
3. `import MyModule`
4. `import MyModule.x`

I would expect `p` (as a private function) to be not available for
execution outside module. Manual page also mentions that this should
be the case.

I am using Julia 0.3.3. May be I need to upgrade.

Cheers,
Devendra.

Reply via email to