Yes.
(class "an instance of Stirng") will return java.lang.String

Now the clojure symbol String is bound to a java.lang.Class instance giving
information on the java.lang.String class (as if you had issued
"kljlkjk".getClass()).

2009/9/10 Gorsal <s...@tewebs.com>

>
> Hello. I'm trying to use (class String) to get the class object for
> the String class. However, nomatter what class typ ei pass, i always
> get java.lang.Class back. Is this the way its supposed to work?
>
> Thx!
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to