disposable: Allows storing different resource-releasing actions together.

[ bsd3, control, deprecated, library ] [ Propose Tags ]
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]
Versions 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]
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 Mon Jul 2 11:21:08 UTC 2018
Distributions NixOS:1.0.0.0
Downloads 1745 total (35 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2018-07-02 [all 1 reports]
Hackage Matrix CI

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees


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.