On 2011-07-16 00:07, Nick Sabalausky wrote:
"Jacob Carlborg"<[email protected]>  wrote in message
news:[email protected]...
On 2011-07-14 21:15, Nick Sabalausky wrote:

Ah, now I see. I'm hoping the user never needs to write import statements
in the build script. It's just these little things that I don't like about
using D for the build scripts. Imports and no top level code.


I agree that the default imports should be sufficient for most typical uses.
But it should be possible to create and share a Drake add-on in the form of
a simple module to be imported. An import would be needed for that. Plus,
even without Drake add-ons, it's reasonable to think that some people may
have reason to import something from Phobos, or something from their own
project, that wouldn't normally be used in most other buildscripts.

Absolutely, imports will be needed.

--
/Jacob Carlborg

Reply via email to