jackfirth / racket-disposable

An experimental Racket library providing an abstraction for values associated with external resources that allows automatic resource pooling, per-thread virtual construction, and monadic composition
Apache License 2.0
7 stars 0 forks source link

`with-disposable` is not exception safe #7

Closed jackfirth closed 7 years ago

jackfirth commented 7 years ago

It should use with-handlers to dispose values in the event of an exception. Not sure how to handle escape continuations though.