finally part run twice on Ctrl-C

Neil Mitchell ndmitchell at gmail.com
Fri Feb 27 03:39:14 EST 2009


Hi Philip,

> Just to let you know; I tried it on the release version of 6.10.1 and it
> worked as expected (first run, I waited; second I pressed Ctrl-C):
>
> *Test> main
> goodbye
> ExitSuccess
> *Test> main
> goodbye
> ExitFailure 2
> *Test>

It looks like you are running in GHCi, which I think works. It's only
when the program is compiled and run from the command line (Cygwin or
DOS) that I get the above problem.

Thanks

Neil;


More information about the Glasgow-haskell-users mailing list