Changes for clojure.core/doto

shockbob on Sun, 21 Aug 2011
;; quick demonstration of using a Collections function on the resulting ArrayList

user=> (def al (doto (java.util.ArrayList.) (.add 11) (.add 3)(.add 7)))
#'user/al
user=> al
#<ArrayList [11, 3, 7]>
user=> (java.util.Collections/sort al)
nil
user=> al
#<ArrayList [3, 7, 11]>
user=>
shockbob on Sun, 21 Aug 2011
;; quick demonstration of using a Collection function on the resulting ArrayList

user=> (def al (doto (java.util.ArrayList.) (.add 11) (.add 3)(.add 7)))
#'user/al
user=> al
#<ArrayList [11, 3, 7]>
user=> (java.util.Collections/sort al)
nil
user=> al
#<ArrayList [3, 7, 11]>
user=>