Re: ExceptionInInitializerError in eval with user defined functions

2009-11-16 Thread gun43
r1366 was also known as Clojure 1.0.0 It turns out that these problems only occur with the clojure.jar distributed with clojuredev 0.0.37 (now Counterclockwise) which also claims to be Clojure 1.0.0 On Nov 14, 8:18 pm, Jarkko Oranen wrote: > On Nov 14, 8:08 pm, gun43 wrote:> Using r1366

ExceptionInInitializerError in eval with user defined functions

2009-11-14 Thread gun43
Using r1366 under Win XP. A user defined function: 1:27 user=> (defn plus2 [x] (+ x 2)) #'user/plus2 1:28 user=> (plus2 5) 7 can only be eval'd 1:29 user=> (list plus2 5) (# 5) 1:30 user=> (eval (list plus2 5)) java.lang.ExceptionInInitializerError (repl-1:30) when passed with #' 1:31 user=> (li

Re: api html page not working in firefox?

2009-10-13 Thread gun43
In my Firefox on Win XP it's chopped off after (resultset-seq rs) but not in IE or Safari. On Oct 12, 8:56 pm, Manuel Woelker wrote: > On Sun, Oct 11, 2009 at 11:29 PM, Raoul Duke wrote: > > > it seems to get chopped off part way down the page for me, of late. > > (it doesn't get chopped off in

gen-class :exposes-methods

2009-05-07 Thread gun43
I am having trouble calling a superclass implementation from an overridden method. I have read the documentation for gen- class :exposes-methods and looked at the examples on github. When I examine the class file, I find no local method for the exposed method. Here are the relevant code fragments

Symbols and Metadata

2009-01-26 Thread gun43
va.lang.Exception: Second argument to def must be a Symbol (NO_SOURCE_FILE:12) although with-meta returns a symbol: user=> (class (with-meta 'bah3 {:doc "say bah 3 times"})) clojure.lang.Symbol which has the expected metadata: user=> (met