[Haskell-cafe] environment variables for runghc?

Martijn van Steenbergen martijn at van.steenbergen.nl
Wed Mar 4 16:07:29 EST 2009


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



More information about the Haskell-Cafe mailing list