Re: How does a quoted symbol become a CONS?
- From: "josephoswald+gg@xxxxxxxxx" <josephoswald@xxxxxxxxx>
- Date: Thu, 17 Jan 2008 08:58:42 -0800 (PST)
On Jan 15, 5:27 pm, "Leslie P. Polzer" <leslie.pol...@xxxxxxx> wrote:
Sorry if it seems tremendously stupid, but what happens here:
[41]> (defmacro foo (bar) (format t "~A" (type-of bar)))
FOO
[42]> (foo 'quux)
CONS
NIL
so that the symbol becomes a cons?
Others have answered the superficial question.
The real question is why you want this to be a macro? FORMAT and TYPE-
OF are both functions.
.
- References:
- How does a quoted symbol become a CONS?
- From: Leslie P. Polzer
- How does a quoted symbol become a CONS?
- Prev by Date: Re: webapps, why so hard
- Next by Date: Re: Steele: Fortress - programming for supercomputers
- Previous by thread: Re: How does a quoted symbol become a CONS?
- Next by thread: Arc
- Index(es):