weak-bag

Mutable bag backed by weak pointers to each item

https://github.com/chessai/weak-bag

Latest on Hackage:0.1.0.0

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.

BSD-3-Clause licensed by Ryan Trinkle
Maintained by [email protected]

This module defines the WeakBag type, which represents a mutable collection of items that does not cause the items to be retained in memory. It is useful for situations where a value needs to be inspected or modified if it is still alive, but can be ignored if it is dead.