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
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
--
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
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
--
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