On Tuesday, March 21, 2017 at 11:43:25 AM UTC-5, John Gabriele wrote: > > > Erf. Sorry. I don't think I understand that after all, and as well may > have confused java.lang.String and java.lang.Class in my above reply. > > I also notice now that: > > user=> (class String) > java.lang.Class > > but > > user=> (. java.lang.Class getName) > CompilerException java.lang.NoSuchFieldException: getName, > compiling:(/tmp/form-init2724986764275224936.clj:1:1) > > This is exactly the reason that it's actually a different case. As the reference doc says, the equivalent expansion is:
user=> (. (identity Class) getName) "java.lang.Class" -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to [email protected] Note that posts from new members are moderated - please be patient with your first post. 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 --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
