So try:

$ alias runghc='runghc -Wall'

Assuming you're on Unix.

HTH,

Martijn.


Erik de Castro Lopo wrote:
Alexander Dunlap wrote:

I doubt there's an env variable, but you could do

$ alias ghc='ghc -Wall'

Sorry, doesn't work. I'm pretty sure runghc uses ghc directly
and doesn't invoke a user shell to  do so.

Erik

_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to