Re: ghci obscurity

2005-05-24 Thread Frederik Eaton
- | [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

RE: ghci obscurity

2005-05-24 Thread Simon Peyton-Jones
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

RE: ghci obscurity

2005-05-23 Thread Simon Peyton-Jones
: [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

ghci obscurity

2005-05-21 Thread Frederik Eaton
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