Re: autoload, javadot, symbol-macrolet, define-symbol-macro
Matthias Radestock <[email protected]> Sat, 11 Dec 2004 21:55:33 +0000
| Newsgroups | gmane.comp.java.sisc.devel |
|---|---|
| Message-ID | <[email protected]> |
Jamie Stephens wrote: > Folks, > > Has anybody added a little (?) facility that invokes > a procedure on a symbol when that symbol is evaluated > and found to be unbound? One way to do this is to catch the "undefined variable" error, extract the variable name, use putprop to establish a binding, and invoke the error continuation with the value. Unfortunately that doesn't work because of bug 1083612. Also, since this is using the standard error handling facilities, a) dynamic wind 'before' and 'after' thunks will be invoked as necessary, which may not be correct, b) the error may be caught be error handlers further down the call chain. Matthias. ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/