iteratee [Haskell] ANN: -0.7.0.2 and 0.8.0.1 released

John Lato jwlato at gmail.com
Wed Feb 16 00:29:39 GMT 2011


On Tue, Feb 15, 2011 at 5:15 PM, Jason Dagit <dagitj at gmail.com> wrote:

>
> On Tue, Feb 15, 2011 at 8:50 AM, John Lato <jwlato at gmail.com> wrote:
>
>>
>> Unfortunately this suffers from the short-circuiting monad bug in
>> MonadCatchIO.  If an iteratee is used with a short-circuiting monad (e.g.
>> ErrorT), the memory can still fail to be released.
>>
>> A better solution would be to use "alloca" or a ForeignPtr to obtain and
>> release the memory automatically, however this will require switching from
>> MonadCatchIO.  I'm likely to make this switch with the next major release,
>> however I thought it best to provide a point release that fixes the most
>> common cases in the interim.
>>
>
> Thank you for doing that stop-gap point release.  It's very considerate to
> users of your library.  I wish more libraries thought that far ahead :)
>

I appreciate your comments.  Of course it would have been better if I got it
right to begin with, but sadly I'm far from infallible.

John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://projects.haskell.org/pipermail/iteratee/attachments/20110216/23a7dbc9/attachment.htm>


More information about the Iteratee mailing list