weak: Weak pointer extas

[ graphics, library ] [ Propose Tags ]

Better weak pointer support for IORefs and ForeignPtrs.

[Skip to Readme]


Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


Versions [RSS] 0
Change log CHANGELOG.md
Dependencies base (>=4.11 && <5) [details]
License (BSD-2-Clause OR Apache-2.0)
Copyright Copyright (c) 2019 Edward Kmett
Author Edward Kmett
Maintainer Edward Kmett <ekmett@gmail.com>
Category Graphics
Home page https://github.com/ekmett/codex/tree/master/weak#readme
Source repo head: git clone https://github.com/ekmett/codex(weak)
Uploaded by EdwardKmett at 2021-03-23T23:37:26Z
Distributions NixOS:0
Downloads 164 total (4 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]

Readme for weak-0

[back to package description]



This package supplies extras for working with weak pointers in Haskell. In particular this allows creation of a weak pointer using a ForeignPtr as a key more robustly. In the future this may extend to allow more types of objects with heap identity (such as the types in primitive) to form robust weak pointers.

Contact Information

Contributions and bug reports are welcome!

Please feel free to contact me through github or on the #haskell IRC channel on irc.freenode.net.

-Edward Kmett