Re: Re: eval and load-string behavior

2011-06-22 Thread Jonathan Fischer Friberg
Yes, unless you wrap it in another macro. (defmacro a [] (vec (map (fn [x] `(load-string-here ~x)) ["1" "2" "3" "4"]))) => (a) [1 2 3 4] But it's still pretty useless, unless macros are to replace functions... Jonathan On Wed, Jun 22, 2011 at 8:20 AM, Meikel Brandmeyer wrote: > Hi, > > note

Re: clojure.contrib.sql and multiple connections

2011-06-22 Thread Matthias Cords
Naturally, a connection pool is to clojure database programming what baked beans are to ham and egg. I am thinking that the size of the connection pool must be determined by the number of workers that may simultaneously work in the connected database, but that's a detail. thank you very much for

Re: Generating API docs for clojure 1.3 projects

2011-06-22 Thread Shantanu Kumar
Hi Tom, Autodoc is superb! However having run into dependency issues with Autodoc myself, I think it would be cool if you can specify Clojure and Contrib JARs as only dev-dependencies so that they don't clash with the ones the user depends on too. Just an idea. Regards, Shantanu On Jun 22, 5:55 

Re: User.clj and set!

2011-06-22 Thread Paul Stadig
On Jun 19, 5:11 pm, Andreas Liljeqvist wrote: > Thanks for the answer. > Would there be any problems associated with changing the root bindings? > It means that every thread in the whole JVM would get that value, but that's probably what you want. It also means that if someone else changed the ro

Help: Some AOT-compiled classes can't be required

2011-06-22 Thread Brian Marick
I have a testing tool called midje. Here's the project file for a trivial use of it: (defproject midje-aot "1.0.0-SNAPSHOT" :description "FIXME: write" :dependencies [[org.clojure/clojure "1.2.0"] [org.clojure/clojure-contrib "1.2.0"] [mid