Hi!

On Fri, Dec 18, 2009 at 6:54 PM, Mitar <[email protected]> wrote:
> On Fri, Dec 18, 2009 at 8:29 AM, Ketil Malde <[email protected]> wrote:
>> Lazy ByteStrings should be able to append with O(1).  (Or use strict BS
>> hGetNonBlocking, and Lazy ByteString fromChunks.)
>
> Oh, true. Thanks!
>
> But ... lazy ByteString's hGetNonBlocking is probably not lazy? Could
> it be? It has to read at that moment whatever it can? But appending is
> really better. Why are lazy ByteStrings not default?

Tried it and it really works great! Thanks to all.


Mitar
_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to