[Haskell-cafe] Destructive updates to plain ADTs

Ganesh Sittampalam ganesh at earth.li
Sun Sep 9 15:31:44 CEST 2012


On 09/09/2012 11:03, Milan Straka wrote:

> I was hoping for some Addr# trick or something like that. If
> I understand the GHC runtime correctly, rewriting a pointer in an ADT
> should not break any garbage collecting and similar.

Don't you need to worry about having something in the old generation
suddenly pointing to something in a younger generation?

Ganesh



More information about the Haskell-Cafe mailing list