Deprecated

In favour of

disposable

Allows storing different resource-releasing actions together. https://github.com/louispan/disposable#readme

Version on this page:0.2.0.4
LTS Haskell 11.21:0.2.0.4
Stackage Nightly 2018-03-12:0.2.0.4
Latest on Hackage:1.0.0.0

See all snapshots disposable appears in

BSD3 licensed by Louis Pan
Maintained by louis@pan.me

Module documentation for 0.2.0.4

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.
Depends on 3 packages:
Used by 1 package:
comments powered byDisqus