Re: [Haskell-cafe] environment variables for runghc?

2009-03-04 Thread Martijn van Steenbergen
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

Re: [Haskell-cafe] environment variables for runghc?

2009-03-04 Thread Erik de Castro Lopo
Martijn van Steenbergen wrote: So try: $ alias runghc='runghc -Wall' Of course! I should have tried that, but I looked at the man page for runghc and -Wall wasn't mentioned. Assuming you're on Unix. Of course :-). Thanks ver much Martijn. Cheers, Erik --

[Haskell-cafe] environment variables for runghc?

2009-03-03 Thread Erik de Castro Lopo
Hi all, Is there some environment variable I can set so that runghc can be told to always use -Wall? Cheers, Erik -- - Erik de Castro Lopo - ... a discussion of C++'s

Re: [Haskell-cafe] environment variables for runghc?

2009-03-03 Thread Alexander Dunlap
I doubt there's an env variable, but you could do $ alias ghc='ghc -Wall' Alex On Tue, Mar 3, 2009 at 7:07 PM, Erik de Castro Lopo mle...@mega-nerd.com wrote: Hi all, Is there some environment variable I can set so that runghc can be told to always use -Wall? Cheers, Erik --

Re: [Haskell-cafe] environment variables for runghc?

2009-03-03 Thread Erik de Castro Lopo
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 -- - Erik de