Tomasz Zielonka wrote:
Hello!
Consider:
$ cat R.hs
main = return [()]
$ runghc R.hs
[()]
This was a bit surprising for me, because I thought that runghc
mimics the way a compiled program behaves.
This doesn't happen with 6.6.1, I believe we fixed it at some point by
having runghc perform "main >> return ()" instead of just main.
Cheers,
Simon
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs