On Sat, 2009-09-19 at 00:36 +0400, Khudyakov Alexey wrote:
Hello
I run into problems with new binary package. Following function reads a list
of elements one by one until end of stream. List is very long (won't fit into
memory).
Sorry for the late reply.
In binary-0.5.0.1 and earlier it
Yes. We decided that having the Get monad as a lazy state monad just
doesn't make sense. It makes this one use case work, but causes more
problems generally. Certainly we need to be able to do lazy binary
deserialisation too, but our feeling is that it should be more explicit
and integrate
On Sun, 2009-10-18 at 19:53 +0400, Alexey Khudyakov wrote:
Yes. We decided that having the Get monad as a lazy state monad just
doesn't make sense. It makes this one use case work, but causes more
problems generally. Certainly we need to be able to do lazy binary
deserialisation too, but
Hello
I run into problems with new binary package. Following function reads a list
of elements one by one until end of stream. List is very long (won't fit into
memory).
In binary-0.5.0.1 and earlier it read list lazily. Now it seems that it tries
to read whole list to memory. Program does