> 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



Reply via email to