Hi,
I am new to clojure, A small help is needed regarding the "let".
(defn objectTest [ ]
(let [buffer (StringBuilder.)]
(do
(.append buffer "manish")
(println "After adding first word: " (.substring buffer 0))
; --------------------------> Setting the value of the buffer to
nil here
(println "After setting the value of buffer object to nil: " (=
buffer nil))
)))
At the end of this function, I want to set the value of buffer object
to the nil, Please help....
Thanx
Regards
Manish Zedwal
--
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your
first post.
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