Re: Argument is not an array, in a function inside deftype

2010-12-30 Thread Jarl Haggerty
I'm using the maven plugin so I think I'm using the lastest 1.2, and I've tried every 1.3 version, but I just got a hold of my laptop, and I am having no problems on there. I was having several other problems too(I started another discussion complaining about a whittled down version of this progra

Re: Argument is not an array, in a function inside deftype

2010-12-30 Thread Bob Shock
I don't get any errors when I run your code. This is the output: 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 Are you sure you are using the latest Clojure 1.2 version and not an early beta, etc.? Process finished with exit code 0 On Dec 29, 11:25 pm, Jarl Haggerty wrote: > What is wro

Argument is not an array, in a function inside deftype

2010-12-29 Thread Jarl Haggerty
What is wrong with my code(bottom of post)? I keep getting this error. Line 24 is "(get-cell [x r c] 1))" in the Matrix deftype and 36 is "(print (get-cell one r c) " "))" in the first nested "doseq"s. I'm on Windows 7 with Clojure 1.2. Exception in thread "main" java.lang.IllegalArgumentExcepti