Ken,
Classloader visibility (http://dev.clojure.org/jira/browse/CLJ-371) is one
possible point of confusion. If you have an AOT-compiled class, you can't
replace it from the REPL which works from a child classloader.
This is correct from a Java perspective, and easy enough to deal with one you
On Thu, Dec 30, 2010 at 7:41 PM, André Thieme
splendidl...@googlemail.com wrote:
Do you observe this in a fresh Clojure?
I ran into something similar, but with definterface.
I had a definterface form and later added new functions to it, which I
could not implement before restarting the JVM, as
I didn't think it was a problem with the clojure version because I was
using the maven plugin and tried several versions, but when I got to
my laptop the next day and ran the exact same programs and everything
worked just fine. At this point my plan is to delete my maven
repositories and if that
This code,
(defprotocol Matrix
(matrix-get [this c r]))
(deftype Matrix2D [data height width]
Matrix
(matrix-get [this r c] 1))
Gives me this error
Exception in thread main java.lang.IllegalArgumentException: Can't
define method not in interfaces: matrix_get (core.clj:6)
at