[Haskell-cafe] Value-weak hash tables in Haskell ?

Erik Hesselink hesselink at gmail.com
Sat Aug 10 21:08:59 CEST 2013


I'm not sure, but there are weak pointer [0], though I have never used them.

Erik

[0] http://www.haskell.org/ghc/docs/latest/html/libraries/base/System-Mem-Weak.html

On Sat, Aug 10, 2013 at 7:13 PM, Aleksey Uymanov <s9gf4ult at gmail.com> wrote:
> Hello, haskellers.
>
> Is there any package implementing magic hash tables weak in value? I
> mean when the value is garbage collected, then this key+value
> authomatically removes from the hash table.
>
> --
> Aleksey Uymanov <s9gf4ult at gmail.com>
>
> _______________________________________________
> Haskell-Cafe mailing list
> Haskell-Cafe at haskell.org
> http://www.haskell.org/mailman/listinfo/haskell-cafe




More information about the Haskell-Cafe mailing list