> Isn't this a Unix-specific convention, to treat the value returned by > main() > as the exit value of the process? Yes, and it only works in some flavours of Unix. The proper way to exit a C program is to call exit(). The proper way to exit a Haskell program is to call exitWith. -- Lennart
- how about main :: IO Int Christian Sievers
- Re: how about main :: IO Int Kevin Hammond
- Re: how about main :: IO Int Thomas Hallgren
- RE: how about main :: IO Int R.S. Nikhil
- Re: RE: how about main :: IO Int Lennart Augustsson
- Re: RE: how about main :: IO Int Lennart Augustsson
- Re: how about main :: IO Int Christian Sievers
- Re: how about main :: IO Int Fergus Henderson