On Dec 14, 2:26 pm, David <dsieg...@yahoo.com> wrote:
> work> (.getName (.getClass 0))
> "java.lang.Integer"
>
> work> (.getName java.lang.Integer)
> ; Evaluation aborted.
>
> Why does the second expression fail?
There used to be a long answer as to why:
http://groups.google.com/group/clojure/msg/8fc6f0e9a5800e4b
Now there is a short one - it does work!
(.getName java.lang.Integer)
-> "java.lang.Integer"
As of
Revision #1158 Committed by rhickey at 12/12/08 9:37:12 PM
force instance member interpretation of (.method ClassName), e.g.
(.getMethods String) works
Rich
--~--~---------~--~----~------------~-------~--~----~
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
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---