[Haskell-cafe] hopefully, a very quick question about ByteString lib

Iain Barnett iainspeed at gmail.com
Tue Oct 27 12:14:35 EDT 2009


On 27 Oct 2009, at 15:47, Thomas DuBuisson wrote:

> If you wanted to make sure it didn't have to do with ghci then you
> should have compiled the original code, not tested different
> functions.

That is a very good point!




On 27 Oct 2009, at 16:00, Daniel Fischer wrote:
>
> Look at the sources:

I'd still have needed you to look at the sources for me, I'm just  
learning.


> Change code to
>
> main = hSetBuffering stdin LineBuffering >> B.getLine >>= B.putStrLn
>
> and it works.
>


Thankyou very much, I appreciate it.


Iain


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/haskell-cafe/attachments/20091027/91f69dd3/attachment.html


More information about the Haskell-Cafe mailing list