Re: possibly silly question re quoting of function arguments...
- From: Barry Margolin <barmar@xxxxxxxxxxxx>
- Date: Fri, 28 Apr 2006 21:06:25 -0400
In article <1146241678.510078.158780@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>,
"birlinn@xxxxxxxxx" <birlinn@xxxxxxxxx> wrote:
Hi Jon,
(defmacro dest-is-xvar-p (list)
`(eq ',list 'myvar-x1))
appears to do exactly what i want to do (i'm learning lisp and decided
to write a card game for emacs as an exercise)...
many thanks!
B
Suppose you do:
(setq otherlist-x1 mylist-x1)
(dest-is-xvar-p otherlist-x1)
Your macro will return false, is this what you want?
--
Barry Margolin, barmar@xxxxxxxxxxxx
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***
*** PLEASE don't copy me on replies, I'll read them in the group ***
.
- References:
- possibly silly question re quoting of function arguments...
- From: birlinn@xxxxxxxxx
- Re: possibly silly question re quoting of function arguments...
- From: Peter Seibel
- Re: possibly silly question re quoting of function arguments...
- From: birlinn@xxxxxxxxx
- Re: possibly silly question re quoting of function arguments...
- From: jayessay
- Re: possibly silly question re quoting of function arguments...
- From: birlinn@xxxxxxxxx
- possibly silly question re quoting of function arguments...
- Prev by Date: Re: Decreasing the "standard deviation" of lisp
- Next by Date: Re: How Common Lisp sucks
- Previous by thread: Re: possibly silly question re quoting of function arguments...
- Next by thread: which one should I choose?
- Index(es):
Relevant Pages
|