Thank you for pointing me to the System library. However, while I was indeed implying that there is no way of returning an exit code, my main question was which type main should have. You seem not to like IO Int (one even for several reasons ;-) but it still looks quite natural to me. Christian Sievers
- 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