> The lack of  extra_command_line_opts  is not important,
> but I wonder, why make things worse?
> One handcraft teacher said 
> "make it best possible from the start, for it will outcome bad by
> itself".
> 
> I thought the idea of  -package  was to collect in one place all 
> the project-specific settings. For example, for my project  docon,  
> I need
>        doconOpts = -fglasgow-exts -fallow-this-and-this ...

I'm in two minds about this.  At the moment, using a -package option
does two well defined things:

  - it brings a set of modules into scope
  - it links in the object code for those modules

According to the Principle of Least Astonishment, we should force the
user to add any extra options himself, because if '-package wibble'
automatically adds a number of language-feature options then it's just
too magical and non-obvious.  

On the other hand, I presume you *need* these options in order to be
able to use Docon, so adding them automatically would seem reasonable.

Opinions, anyone?

Cheers,
        Simon

_______________________________________________
Glasgow-haskell-bugs mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to