[plt-scheme] finally

From: Eli Barzilay (eli at barzilay.org)
Date: Mon Dec 19 23:17:54 EST 2005

On Dec 19, Doug Orleans wrote:
> What is the PLT equivalent of Java's "finally"?  I think I could write
> something using dynamic-wind, but is there a more efficient way to do
> it if you just want to guard exits and not entrances?

You can give dynamic-wind `void' as a first argument.

          ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:
                  http://www.barzilay.org/                 Maze is Life!

Posted on the users mailing list.