|
ghci obscurity: msg#00096lang.haskell.glasgow.bugs
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 would be to fix, but it's kind of a nuisance. It seems to only come up when something else is wrong, but it often comes up *instead* of a good error message for the real problem, making it very hard to track the real problem down. Frederik -- http://ofb.net/~frederik/
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | the impossible happened, Frederik Eaton |
|---|---|
| Next by Date: | [ ghc-Bugs-1206355 ] System.Cmd.system fails on Win9x, SourceForge.net |
| Previous by Thread: | [ ghc-Bugs-1205825 ] Incorrect "Defined but not used", SourceForge.net |
| Next by Thread: | RE: ghci obscurity, Simon Peyton-Jones |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |