Re: java.lang.Boolean cannot be cast to clojure.lang.IFn

2010-05-31 Thread B Smith-Mannschott
On Mon, May 31, 2010 at 14:11, garyk wrote: > Hi, > I've started learn Clojure. While I am writing some functions I was > getting the java.lang.Boolean cannot be cast to clojure.lang.IFn. I > was wondering if somebody could help me to move on: > > ; for testing > (def

Re: java.lang.Boolean cannot be cast to clojure.lang.IFn

2010-05-31 Thread Joost
Oh, and you code throws "clojure.lang.PersistentVector cannot be cast to java.lang.Number [Thrown class java.lang.ClassCastException]" for me. -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.

Re: java.lang.Boolean cannot be cast to clojure.lang.IFn

2010-05-31 Thread Joost
On May 31, 2:11 pm, garyk wrote: > Hi, > I've started learn Clojure. While I am writing some functions I was > getting the java.lang.Boolean cannot be cast to clojure.lang.IFn. I > was wondering if somebody could help me to move on: > > ; for testing > (def sudoku ( sor

java.lang.Boolean cannot be cast to clojure.lang.IFn

2010-05-31 Thread garyk
Hi, I've started learn Clojure. While I am writing some functions I was getting the java.lang.Boolean cannot be cast to clojure.lang.IFn. I was wondering if somebody could help me to move on: ; for testing (def sudoku ( sorted-map '[1 1] '(98) '[1 2] '(123) '[2 1]