Re: change in doto behavior

2008-12-03 Thread Blaine
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

Re: change in doto behavior

2008-12-02 Thread Stuart Halloway
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

change in doto behavior

2008-12-02 Thread .Bill Smith
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