Re: Conduit missing closing file handles

Henning Thielemann <[email protected]> Thu, 14 May 2026 20:08:02 +0200 (CEST)
Newsgroups gmane.comp.lang.haskell.cafe
Message-ID <[email protected]>
On Wed, 13 May 2026, Tom Ellis wrote:

> On Wed, May 13, 2026 at 10:25:47PM +0200, Henning Thielemann wrote:
>> On Sat, 9 May 2026, Tom Ellis wrote:
>>> It looks like what you want can be done with conduit, at the cost of
>>> using a non-compositional (CPS) style:
>>>
>>> https://github.com/snoyberg/conduit/issues/532#issuecomment-4412941508
>>>
>>> This would probably be sufficient for your needs in this case.
>>
>> Of the four variants, I think I should not use "broken" and "sjshuck". Which
>> one of "snoyberg" and "bracket" shall I try?
>
> You should use "bracket".

Excellent, with the help of your code snippet I could prepare a patch for 
the "zip" package:
   https://github.com/mrkkrp/zip/pull/143

Thanks a lot!
_______________________________________________
Haskell-Cafe mailing list -- [email protected]
To (un)subscribe, modify options or view archives go to:
Only members subscribed via the mailman list are allowed to post.