-
| [EMAIL PROTECTED] On Behalf Of Frederik Eaton
| Sent: 21 May 2005 14:34
| To: glasgow-haskell-bugs@haskell.org
| Subject: ghci obscurity
|
| Often ghci will give me the following message instead of something
| helpful:
|
| Top level:
| No instance for (Show (IO
to
(Integer,Integer).
Simon
| -Original Message-
| From: [EMAIL PROTECTED]
[mailto:glasgow-haskell-bugs-
| [EMAIL PROTECTED] On Behalf Of Frederik Eaton
| Sent: 24 May 2005 10:19
| To: Simon Peyton-Jones
| Cc: glasgow-haskell-bugs@haskell.org
| Subject: Re: ghci obscurity
|
| Thank you
: [EMAIL PROTECTED]
[mailto:glasgow-haskell-bugs-
| [EMAIL PROTECTED] On Behalf Of Frederik Eaton
| Sent: 21 May 2005 14:34
| To: glasgow-haskell-bugs@haskell.org
| Subject: ghci obscurity
|
| Often ghci will give me the following message instead of something
| helpful:
|
| Top level:
| No instance
Often ghci will give me the following message instead of something
helpful:
Top level:
No instance for (Show (IO ()))
arising from use of `print' at Top level
Probable fix: add an instance declaration for (Show (IO ()))
In a 'do' expression: print it
I don't know how hard it