On Sat, Jul 21, 2012 at 09:42:30AM -0400, Paul Khuong wrote:
In article 20120720140001.GA1193@Zushakon, Josh March?n sykopomp@sykosomatic.org wrote:
There's also weird behavior on some implementations (notably SBCL) when it comes to accessing dynamic variables (where it can only access the global binding, not the local one).
I don't know where you're getting that. SYMBOL-VALUE works with dynamic variables and their current dynamic binding, if any.
You're right. I hadn't tested it myself. I got that from Luis' post:
(2012-06-10 update: Nikodemus wrote in to point out that (cas (symbol-value '*foo*) ...) on SBCL modifies the special variable's global value rather than its dynamic binding. Fixed table accordingly.)