Streamly seems to have a very GC-based cleaning convention... using the IOFinalizer construct from streamly-core.
Why was this approach taken? Some Haskellers might say GC is too late for cleanup (things needing cleanup might unpredictably "build up"). The normal Haskell way is usually more bracket based.
Hoping to learn some of your general thoughts on this topic.
Streamly seems to have a very GC-based cleaning convention... using the IOFinalizer construct from streamly-core.
Why was this approach taken? Some Haskellers might say GC is too late for cleanup (things needing cleanup might unpredictably "build up"). The normal Haskell way is usually more bracket based.
Hoping to learn some of your general thoughts on this topic.