(no subject)

Juergen Pfitzenmaier pfitzen@informatik.uni-tuebingen.de
Mon, 13 Nov 2000 22:14:09 +0100 (MET)


Ashley Yakeley wrote at Sun, 12 Nov 2000 23:20:31 -0800:
>  C++ provides a convenient mechanism for cleaning up stuff, the
>  destructor, which is guaranteed to ....

and asked if something like the C++ destructor could be done
in haskell.

Don't try this. One of the main attractions of C++ destructors
is a guaranteed order their execution. This is too ugly for
a lazy language.

pfitzen