Re: [racket] finally via macro

2011-08-12 Thread Neil Van Dyke
Racket/Scheme language designers sometimes ask navel-gazing questions like "What does it really mean to return a value?" -- asked intelligently, not under the influence of psychoactives -- and this kind of thinking soon leads to greater insight and to more powerful programming language features

Re: [racket] finally via macro

2011-08-12 Thread Matthias Felleisen
dynamic-wind is the proper way to express 'finally' in Racket. _ For list-related administrative tasks: http://lists.racket-lang.org/listinfo/users

[racket] finally via macro

2011-08-12 Thread Zack Galler
Sam Phillips writes: > > On Fri, Oct 8, 2010 at 4:40 PM, Jay McCarthy wrote: > > I use dynamic-wind for this. If there is something better, I don't > > know what it is. dynamic-wind is a little bit funny though because if > > you capture continuations then the in/out handlers can run multiple >