| C++ provides a convenient mechanism for cleaning up stuff, the
| destructor, which is guaranteed to get called when an object
| passes out
| of scope (or something).
Haskell doesn't but GHC has an extension (finalisers) that does.
There's a discussion of the issues in our paper about weak pointers
and finalisers
http://research.microsoft.com/~simonpj/#weak
Simon
_______________________________________________
Haskell mailing list
[EMAIL PROTECTED]
http://www.haskell.org/mailman/listinfo/haskell
- Imperative Object Destruction Ashley Yakeley
- RE: Imperative Object Destruction Simon Peyton-Jones
- RE: Imperative Object Destruction Ashley Yakeley
- RE: Imperative Object Destruction Chris Angus
- Re: Imperative Object Destruction Hannah Schroeter
- Re: Imperative Object Destruction Ashley Yakeley
- Re: Imperative Object Destruction Hannah Schroeter
- RE: Imperative Object Destruction Ashley Yakeley
- Re: Imperative Object Destruction Ashley Yakeley
- Re: Imperative Object Destruction Ashley Yakeley
- Re: Imperative Object Destruction Marcin 'Qrczak' Kowalczyk
- RE: Imperative Object Destruction Simon Marlow
