
Scribit Mac Chan dies 03/05/2007 hora 21:02:
I find it strange that you don't follow what my intention was because I thought that's how everyone else write lisp code in a bottom up style
I really do both styles, bottom-up and top-down, so I really didn't understand what you wanted to do.
Now if you require me to wrap every sexp with your (with-leaked-variables) macro before I can test them, I think I'll just give up
Don't, your wish is just a macro away: http://arcanes.fr.eu.org/~pierre/2007/05/cl-leak/?rev/dd3cb6ee7410 In your case, you'd still do (leak-variables *leak* ...) in a handler to capture the various variables you need, and it's not restricted to dynamic variables related to Hunchentoot. Then you'd evaluate (setf-leaked-variables *leak*) in the REPL and you're in the exact situation *debug-mode* was bringing you in. Except it's now more flexible, and there's a conditional branching and a cache miss that won't go in Hunchentoot's critical path. Quickly, Pierre -- nowhere.man@levallois.eu.org OpenPGP 0xD9D50D8A