The example on http://clojure.org/jvm_hosted should reflect this. I'm
not sure this is the proper venue to report such stuff. I've used
this example (successfully) to convince those that normally walk away
when I start talking about lisp to give clojure a look. I just cut
and paste it into the
Yes. doto is more general now. The . is needed to indicate Java
interop calls because doto can do other things which are not Java
interop calls:
(doto "double" println println)
double
double
-> "double"
Stuart
> Can someone tell me whether this change was intentional? In the
> 20080916 r
Can someone tell me whether this change was intentional? In the
20080916 release, I get this:
user=> (doto (new java.util.HashMap) (.put "a" "b"))
java.lang.IllegalArgumentException: No matching method found: .put
java.lang.IllegalArgumentException: No matching method found: .put
at cloj