Hi,

On 29 Nov., 15:30, Randall R Schulz <[EMAIL PROTECTED]> wrote:
> Hi,
>
> What happened here?

String literals evaluate to themselves. Quoting prevents evaluation.
When you evaluate a quoted string, you get just the string.

user=> '"hello"
"hello"
user=> "hello"
"hello"
user=> (= "a" '"a")
true

This behaviour is similar to that of number literals.

user=> (= 3 '3)
true

hth, Robert Pfeiffer
--~--~---------~--~----~------------~-------~--~----~
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