Here's another variant of the "classes are not first class objects in  
Java" problem:

user=> (new String)
""
user=> (new (Class/forName "java.lang.String"))
java.lang.IllegalArgumentException: Unable to resolve classname:  
[EMAIL PROTECTED]

I understand why this fails, and that it is consistent with Java. But  
Java is ugly here, and since new is a Clojure special form I think  
this could be made to work without negative surprises elsewhere.

Rich: I will write the patch if you will apply it.

Stuart


--~--~---------~--~----~------------~-------~--~----~
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