Am 10/18/2012 12:48 PM, schrieb Dan:

Ok, thanks. I've not seen function scoped imports, so curious as to the
purpose/benefit? Is it to reduce the effect of the symbols being imported
to just the function to prevent name collisions?

I'd say that is one possible reason. They can also be useful to keep
code and dependencies closer together when an import is really just
needed for one function. But another very nice side effect in the vibe.d
context is that they allow imports to be specified inside of Diet
templates - that feature would probably be impossible without them.