JuliaLang/julia — pull request #5626 by simonster (2014-01-31 02:55:43+00:00)
Title: Add a reexported keyword for use with using, import, and importall

This is an alternative to #5608 that is similar to @vtjnash's proposal from #1986, although I didn't implement the `as` part of that proposal. Syntax is:

```julia
using MyModule reexported, ...
import MyModule.fn reexported, ...
importall MyModule reexported, ...
```

I chose this approach over the others mentioned in #1986 because it wasn't clear to me what should happen if you try to `reexport MyModule` or `exportall MyModule` without first having called `importall MyModule` or `using MyModule`. It also avoids an additional reserved keyword since it is only applicable after `using`, `import`, or `importall`. I am not convinced it is a better option than #5608 (it's not any easier to use and it's a lot more code), but hopefully one of these can make it into Base.