[Haskell] Re: putStr is not evaluated in the correct order

Bruno Martínez br1 at internet.com.uy
Tue Sep 5 13:58:38 EDT 2006

On Mon, 04 Sep 2006 05:49:08 -0300, Simon Marlow
<simonmarhaskell at gmail.com> wrote:

> It is in the FAQ.  The FAQ is currently a bit hard to navigate and could  
> do with splitting up into separate pages, though.
> http://haskell.org/haskellwiki/GHC:FAQ#If_I_print_out_a_string_using_putStr.2C_and_then_attempt_to_read_some_input_using_hGetLine.2C_I_don.27t_see_the_output_from_the_putStr.
> We could consider adding a message along the lines you suggest... any  
> other ideas?

C++ avoids this problem 'tieing' cin and cout.  Why can't haskell do the


More information about the Haskell mailing list