GHCi prints results of IO actions
Apparently, ghci has changed its behaviour from 6.4 to print the result of IO actions, even if assinged to a variable. I often do something like
ghci> x <- myParser "largeFile"
in order to do various tests on x. Having the contents of x dumped to the monitor is annoying, and defeats laziness testing completely.
-ketil
Trac metadata
Trac field | Value |
---|---|
Version | 6.5 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | GHCi |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |