In favour of


Allows storing different resource-releasing actions together.

Version on this page:
LTS Haskell 11.22:
Stackage Nightly 2018-03-12:
Latest on Hackage:

See all snapshots disposable appears in

BSD-3-Clause licensed by Louis Pan
Maintained by

Module documentation for

Hackage Build Status

Disposable allows storing different resource releasing actions togther in a container. This library is useful for queueing up GHCJS.Foreign.Callback together to be released after a new rendering frame.


    • Breaking changes:
      • Simplified by removing SomeDisposable GADT; Disposable is now a newtype, and the typeclass is called Dispose.
      • The intention is no longer to create Disposable instances for everything.
      • Disposable is only used to provide a safe wrapper around IO to ensure that it performs no other side effects.
Depends on 3 packages:
Used by 1 package:
comments powered byDisqus