Re: Bug with clojure eval: ExceptionInInitializerError

2009-02-20 Thread Jeffrey Chu
As always, thanks for the quick fix! - Jeff On Feb 20, 7:11 am, Rich Hickey wrote: > On Feb 19, 8:18 pm, Jeffrey Chu wrote: > > > > > Hi, > > > Okay, I'm reasonably sure this is a bug with clojure's eval. Here's an > > even more succinct version: > > > (defn lazy-identity [a] > >   (if (seq? a)

Re: Bug with clojure eval: ExceptionInInitializerError

2009-02-20 Thread Rich Hickey
On Feb 19, 8:18 pm, Jeffrey Chu wrote: > Hi, > > Okay, I'm reasonably sure this is a bug with clojure's eval. Here's an > even more succinct version: > > (defn lazy-identity [a] > (if (seq? a) > (map lazy-identity a) > a)) > > user=> (lazy-identity '(apply + '(1 2 3))) > (apply + (quo

Re: Bug with clojure eval: ExceptionInInitializerError

2009-02-19 Thread wlr
On Feb 19, 8:18 pm, Jeffrey Chu wrote: > user=> (eval (lazy-identity '(apply + '(1 2 3 > java.lang.ExceptionInInitializerError (NO_SOURCE_FILE:0) ~/java/clojure $ svn info Path: . URL: http://clojure.googlecode.com/svn/trunk Repository Root: http://clojure.googlecode.com/svn Repository UUID: