Re: Help needed regarding the use of macro

2010-01-25 Thread Manish
Thanx for ur quick response, And its not making difference by changing "exception" to "e". I am still getting this error: java.lang.Exception: Can't bind qualified name:nlplabs.webfetch.agent/ e Thanx Regards Manish Zedwal On Jan 25, 5:03 pm, Michael Wood

Re: Help needed regarding the use of macro

2010-01-25 Thread Manish
Nothing is declared in this namespace as "exception" On Jan 25, 5:03 pm, Michael Wood wrote: > 2010/1/25 Manish : > > > > > Hi, > > I am new to clojure. I want to use try-catch block to the  (.getPage > > *wc* ~url) statement of code. But I am getting th

Help needed regarding the use of macro

2010-01-25 Thread Manish
Exception exception (println exception) (.clear exception))) (log :info "Done fetching page at URL " ~url)) *page-dom* (page-dom-fn)] ~...@forms)) Regards Manish Zedwal -- You received this message because you

Re: Help needed regarding the "let"

2010-01-12 Thread Manish
ain for ur response Regards Manish Zedwal On Jan 12, 2:15 pm, Mike Hinchey wrote: > One of the big features of Clojure is you can't changes variables after they > are initialized - in java terms, they are all final.  However, when the let > exits, the buffer variable is out of sco

Re: Help needed regarding the "let"

2010-01-12 Thread Manish
.setLength buf 0) res) If I am wrong, Then pls suggest me right way to do this thing. Thanx again for ur response Regards Manish Zedwal On Jan 12, 2:15 pm, Mike Hinchey wrote: > One of the big features of Clojure is you can't changes variables after they > are initialized

Help needed regarding the "let"

2010-01-11 Thread Manish
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)) ; -->