Re: where do you put clojure.java.jdbc?????

2011-10-25 Thread jingguo
jayvandal: If you don't use Leiningen, make sure that the pathname for clojure.java.jdbc jar file exists in classpath. On Oct 25, 1:39 pm, Sean Corfield seancorfi...@gmail.com wrote: On Mon, Oct 24, 2011 at 8:36 PM, jayvandal s...@ida.net wrote: I am running Vista. I installed Clojure as

Please help me on submitting the Contributor Agreement

2011-10-16 Thread jingguo
I want to submit the Contributor Agreement. One question is whether the following mail address on http://clojure.org/contributing is still valid: Rich Hickey 514 South Duke Street Durham, NC 27701 The other question is whether the above address is in USA. I live in Beijing. I need to fill the

Re: Please help me on submitting the Contributor Agreement

2011-10-16 Thread jingguo
Stu: Thanks a lot. On Oct 16, 7:24 pm, Stuart Halloway stuart.hallo...@gmail.com wrote: I want to submit the Contributor Agreement. One question is whether the following mail address on http://clojure.org/contributingis still valid: Rich Hickey 514 South Duke Street Durham, NC 27701

Re: The Website / Wikispaces

2011-10-12 Thread jingguo
I do with the use of Chrome browser. On Oct 12, 10:30 pm, Chas Emerick cemer...@snowtide.com wrote: Wikispaces does some strange https redirects through its own domain for session handling.  If your agent doesn't react as it expects, you can end up in all sorts of strange places (including

tools.logging vs clojure.contrib.logging

2011-10-12 Thread jingguo
Is tools.logging is a replacement of clojure.contrib.logging? Which one should I use? -- You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please

Re: tools.logging vs clojure.contrib.logging

2011-10-12 Thread jingguo
part of contrib, use the clojure/ one. On Wed, Oct 12, 2011 at 5:06 PM, jingguo yaojing...@gmail.com wrote: Is tools.logging is a replacement of clojure.contrib.logging? Which one should I use? -- You received this message because you are subscribed to the Google Groups Clojure

Re: tools.logging vs clojure.contrib.logging

2011-10-12 Thread jingguo
Sean: The links give me a clear answer. On Oct 13, 2:30 am, peta pwha...@bhvr.com wrote: On clojure.org the libraries link at the bottom of the left bar should take you Clojure+Contrib because thats about as close to official libraries as clojure gets. The Clojure+Contrib page can reference

Re: Is there a clojure counterpart for java.lang.String indexOf method?

2011-10-10 Thread jingguo
Thanks for your clarification. On Oct 9, 11:47 pm, Stephen Compall stephen.comp...@gmail.com wrote: On Sun, 2011-10-09 at 07:36 -0700, jingguo wrote: Does clojure has a API for this? I have checked clojure.core and clojure.string. It seems that clojure does not have a counterpart

Is there a clojure counterpart for java.lang.String indexOf method?

2011-10-09 Thread jingguo
java.lang.String has a method called indexOf(String str). We can use it with clojure in the following way: (.indexOf 012 12) Does clojure has a API for this? I have checked clojure.core and clojure.string. It seems that clojure does not have a counterpart for indexOf. -- You received this

Re: why expressions in macro are not evaluated?

2011-09-17 Thread jingguo
Michael, thanks for your explanation. I have used dorun to solve my problem following your suggestion. -- You received this message because you are subscribed to the Google Groups Clojure group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are

why expressions in macro are not evaluated?

2011-09-14 Thread jingguo
I write a simple macro and an invocation of the macro. Here is the code: (defmacro my-macro [ body] `(for [cur-date# [2011-09-04 2011-09-05]] (do ~@body) ) ) (my-macro (printf a_message\n) ) I get a_message printed twice if I paste the code in a clojure REPL. But I save the code