Search found 2 matches

by vaclav
Tue Feb 22, 2011 5:24 am
Forum: Common Lisp
Topic: Paul Graham's condlet without gensym for variable names
Replies: 2
Views: 3315

Re: Paul Graham's condlet without gensym for variable names

Actually, both versions give the same result: (nil 99). Note that this is the expected behaviour (... "Variables which occur in some clauses and not others will be bound to nil if the successful clause does not specify bindings for them" ...) Paul Graham uses gensyms for the bindings inste...
by vaclav
Mon Feb 21, 2011 4:26 am
Forum: Common Lisp
Topic: Paul Graham's condlet without gensym for variable names
Replies: 2
Views: 3315

Paul Graham's condlet without gensym for variable names

Hi, I'm relatively new to Lisp, but relatively old to computers. I'm reading through Paul Graham's On Lisp book, and I would like to ask anybody who is familiar with or can understand Paul Graham's condlet macro about his usage of gensyms there. From my point of view there's no need to use a new &qu...