Article: Bluefin streams finalize promptly
Despite the long struggle to make streaming abstractions finalize (release resources) promptly (for example, by implementing special-purpose bracketing operations using ResourceT
for conduit and SafeT
for pipes), they still fail in this task. At best, they have “promptish” finalization.
Streams implemented in Bluefin, on the other hand, do finalize promptly and can even use general-purpose bracketing!
My article explains the situation.