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
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.
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
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]