On Fri, Oct 8, 2010 at 4:40 PM, Jay McCarthy <jay.mccar...@gmail.com> 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
> times which might defy your expectations. You could set up a
> continuation barrier on the inside to ensure that doesn't happen
> though.

This is pretty much what I was afraid of with using dynamic-wind.

Cheers,
Sam
_________________________________________________
  For list-related administrative tasks:
  http://lists.racket-lang.org/listinfo/users

Reply via email to