Thanks.

Maybe -fno-print-bind-result belongs in "Interactive-mode options"
rather than "Misc compiler options"?:

http://www.haskell.org/ghc/docs/latest/html/users_guide/flag-reference.html#id3132588

Frederik

On Fri, Apr 27, 2007 at 05:52:20PM +0200, Lemmih wrote:
> On 4/27/07, Frederik Eaton <[EMAIL PROTECTED]> wrote:
> >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...
> 
> http://www.haskell.org/ghc/docs/latest/html/users_guide/ch03s04.html#ghci-stmts
> 
> -- 
> Cheers,
>  Lemmih
> 

-- 
http://ofb.net/~frederik/
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to