[GHC] #1200: ghci scripts ending in printf lines fail with
Exception: Prelude.undefined
GHC
trac at galois.com
Tue Mar 13 10:48:39 EDT 2007
#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 <simonmar at microsoft.com>
* 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
More information about the Glasgow-haskell-bugs
mailing list