Hello,

It seems the printing behaviour of ghci has changed recently?

$ ghci --version
The Glorious Glasgow Haskell Compilation System, version 6.4.2
$ ghci
...
> return 5 --(a0)
> x <- return 5 --(b0)
> Leaving GHCi.

$ ghci --version
The Glorious Glasgow Haskell Compilation System, version 6.6.20070420
$ ghci
...
> return 5 --(a1)
5
> x <- return 5 --(b1)
5
> Leaving GHCi.

I like the new printing behaviour for (a1), but not for (b1). How do I
bind a variable to the result of an IO action without printing that
variable? Sometimes the variable is so large that 'show' runs out of
memory. Perhaps I should fix my code so this doesn't happen but I
think it would also be nice to go back to behaviour (b0) where values
assigned to variables are not printed...

Best regards,

Frederik
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to