Re: [Haskell-cafe] environment variables for runghc?
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 Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
Re: [Haskell-cafe] environment variables for runghc?
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 -- - Erik de Castro Lopo - `If you want a vision of the future, it is a wireless broadband network feeding requests for foreign money-laundering assistance into a human temporal lobe, forever. With banner ads.' -- John M. Ford ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
[Haskell-cafe] environment variables for runghc?
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 strengths and flaws always sounds like an argument about whether one should face north or east when one is sacrificing one's goat to the rain god. -- Thant Tessman ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
Re: [Haskell-cafe] environment variables for runghc?
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 -- - Erik de Castro Lopo - ... a discussion of C++'s strengths and flaws always sounds like an argument about whether one should face north or east when one is sacrificing one's goat to the rain god. -- Thant Tessman ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
Re: [Haskell-cafe] environment variables for runghc?
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 Castro Lopo - If I were on life-support, I'd rather have it run by a Gameboy than a Windows box. -- Cliff Wells in comp.lang.python ___ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe