Re: Let over defmacro

2011-05-03 Thread Stanislav Paskalev
eval obj))) However it'll be good if someone could share some insight why a macro cannot call another one and what is the general solution in such a case Stanislav Paskalev On Tue, May 3, 2011 at 3:50 PM, Stanislav Paskalev wrote: > Hello, > Evaluating the form > > (let [cach

Let over defmacro

2011-05-03 Thread Stanislav Paskalev
n: Can't eval locals - for the last line of "def-cached" However, when I use eval the first defmacro by itself as a closure - it works perfectly. How can I make those share the cache state without binding it to a public symbol ? Best regards, Stanislav Paskalev -- You received this me

Re: dead simple compile to jar file

2011-04-27 Thread Stanislav Paskalev
Hi, "lein uberjar" is what I believe you are looking for! Regards, Stanislav Paskalev On Wed, Apr 27, 2011 at 8:45 PM, cej38 wrote: > Hi, >  I would like the simplest method to compile a few lines of clojure > code into a jar file that I can distribute to some fellow scie

Re: Transforming map entries

2011-02-23 Thread Stanislav Paskalev
uot; "foo") ("bar" "bar")) user=> mymap {:a #, :b #} Stanislav Paskalev On Wed, Feb 23, 2011 at 1:27 AM, Nurullah Akkaya wrote: > You can use map to get your new sequence of pairs, the turn it into a > hash-map using into, > > (->> {:first