@hackage disposable1.0.0.0

Allows storing different resource-releasing actions together.

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.

Changelog

  • 1.0.0.0
    • 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.