In what way doesn't it make sense to evaluate it in a local scope? It's true that Julia modules don't behave that way now, but other languages support local modules; D and OCaml come to mind.
On Wednesday, December 9, 2015 at 7:22:51 AM UTC-8, Steven G. Johnson wrote: > > A using statement affects the global scope, so it doesn't make a lot of > sense to evaluate it in local scope. That's why it's not allowed. The eval > function evaluates in global scope, so it can execute a using statement. > > In general, though, if you are eval'ing a using statement, you should > probably reorganize your code to do the using directly in global scope. For > example, put your code into a module if you want to keep the using > statement isolated from other code. >