[Haskell] -compiler-options vs {#-LANGUAGE Flags-#}

S. Alexander Jacobson alex at alexjacobson.com
Fri Mar 23 21:28:52 EDT 2007


I think the LANGUAGE pragma is better than the OPTIONS_GHC pragma but 
I am relatively indifferent on that issue.  My only point is that 
module authors should put this information in the module source rather 
than in the build system.

-Alex-

On Fri, 23 Mar 2007, Alec Berryman wrote:

> S. Alexander Jacobson on 2007-03-23 17:16:26 -0400:
>
>> The correct answer, I believe, is to require that module authors put
>> flags in the module themselves where they belong.
>
> Does the OPTIONS_GHC pragma solve your issue?
>
> http://www.haskell.org/ghc/docs/latest/html/users_guide/using-ghc.html#source-file-options
> _______________________________________________
> Haskell mailing list
> Haskell at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell
>



More information about the Haskell mailing list