Problem solved. I finally got rid of the problem that required me to delete a type hint, compile, add it back, and recompile, by moving the gen-interface and deftype calls that I used to define the Student class into the same namespace I used to define the Students class. (I think that's what people were suggesting, but I lost track of what all of the relevant points.)
Tassilo, thanks for being willing to look at the code. I appreciate it. There's no need to look at it to solve the delete/restore/recompile problem. (If you or anyone else still want to look at the source for any reason, it's at https://github.com/mars0i/majure. The latest version at this moment is in the directory *3opt8*. The version referenced in my last post was in *3opt7*. *0plus* contains a pure Java version. I may reorganize the directories in a few weeks.) Thanks for everyone's help! On Friday, May 22, 2015 at 4:02:35 PM UTC-5, Tassilo Horn wrote: > > Mars0i <[email protected] <javascript:>> writes: > > > However, in all versions (gen-class, reify, deftype, defrecord, > > proxy), I can only get maximum speed by the same awkward trick that I > > used with gen-class: I remove a type hint in Student.clj, compile all > > of the files, then I add back the type hint in Student.clj and > > recompile it. If I don't do this, I either get "java.lang.Exception: > > Cyclic load dependency"; or I can't compile Student.clj because > > Students doesn't exist, or can't compile Students.clj because Student > > doesn't exist. > > Is the code somewhere that we can have a look? > > Bye, > Tassilo > -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to [email protected] Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
