disposable: Allows storing different resource-releasing actions together.

[ bsd3, control, deprecated, library ] [ Propose Tags ] [ Report a vulnerability ]
Deprecated in favor of glazier-react

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.


[Skip to Readme]

Modules

[Index]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1.0.0, 0.1.1.0, 0.1.1.1, 0.2.0.0, 0.2.0.1, 0.2.0.2, 0.2.0.3, 0.2.0.4, 1.0.0.0 (info)
Dependencies base (>=4.7 && <5), ghcjs-base, ghcjs-base-stub (>=0.1.0.2), stm (>=2.4.4.1) [details]
Tested with ghc ==8.0.1
License BSD-3-Clause
Copyright 2017 Louis Pan
Author Louis Pan
Maintainer louis@pan.me
Category Control
Home page https://github.com/louispan/disposable#readme
Source repo head: git clone https://github.com/githubuser/disposable
Uploaded by louispan at 2018-07-02T11:21:08Z
Distributions
Reverse Dependencies 2 direct, 0 indirect [details]
Downloads 5209 total (27 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2018-07-02 [all 1 reports]

Readme for disposable-1.0.0.0

[back to package description]

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.