Re: Calling Clojure from Java: unbound function

2011-03-28 Thread Mark Meyer
Nope. I moved the main code to ns hexadoku.core (generating package hexadoku, class core) and did the deftype in hexadoku (generating package hexadoku, class HexSolver). The error remains Exception in thread "AWT-EventQueue-0" java.lang.IllegalStateException: Var hexadoku.core/search is unbound. a

Re: Calling Clojure from Java: unbound function

2011-03-28 Thread Ken Wesson
On Mon, Mar 28, 2011 at 8:46 AM, Mark Meyer wrote: > Hi. > I'm having problems calling clojure code from Java. Basically I deftype'd > (deftype HexSolver [] >   Solver >   (solve [this grid] (search (process-grid grid > and somewhere near the top of that file file > (defn search [foo] ...) > t

Calling Clojure from Java: unbound function

2011-03-28 Thread Mark Meyer
Hi. I'm having problems calling clojure code from Java. Basically I deftype'd (deftype HexSolver [] Solver (solve [this grid] (search (process-grid grid and somewhere near the top of that file file (defn search [foo] ...) the very top places this in the namepsace (:ns hexadoku (:gen-cla