Hello, I just wondered if it was ever considered to let the main function have the type IO Int, in order to let the haskell programm be able to return an exit code to the calling environment, as C's int main(...) does. I think real programms sometimes want to exit(1) in some cases. Christian Sievers
- Re: 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