On Nov 29, 2008, at 9:30 AM, Randall R Schulz wrote:

> Is it a reader bug? (That the second apostrophe appeared to be  
> ignored.)

It wasn't ignored. It quoted the string.

I've been interested in a way to see what the reader returns for  
things like this in the past.

It turns out we can get that using macroexpand:

user=> (prn (macroexpand '(interpose '.' "The quick brown fox")))
(interpose (quote .) (quote "The quick brown fox"))

(I hadn't thought of macroexpand expanding reader macros as well as  
non-reader macros, but that's the effect here.)

--Steve


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Clojure" group.
To post to this group, send email to clojure@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to