#1200: ghci scripts ending in printf lines fail with Exception:
Prelude.undefined
----------------------------+-----------------------------------------------
Reporter: dons | Owner: igloo
Type: merge | Status: new
Priority: normal | Milestone: 6.6.1
Component: libraries/base | Version: 6.6
Severity: normal | Resolution:
Keywords: | Difficulty: Unknown
Testcase: | Architecture: Unknown
Os: Unknown |
----------------------------+-----------------------------------------------
Changes (by simonmar):
* milestone: 6.8 => 6.6.1
* owner: => igloo
* type: bug => merge
Comment:
I think the right way to fix this is to make runghc evaluate `(main >>
return ())` instead of just `main`, which is what I just did:
{{{
Tue Mar 13 14:46:14 GMT 2007 Simon Marlow <[EMAIL PROTECTED]>
* fix #1200: don't evaluate the result of main
}}}
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/1200>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs