Hi everyone!

I'm having trouble getting the following to compile from "lein
compile":

(ns foo.Bar
  (:gen-class
   :methods [[chain [] foo.Bar]]))

(defn -chain [this]
  this)

My project.clj has foo.Bar declared as a :namespace.

Perhaps I'm not understanding the compile error.  Is there a way to
declare that a method of a gen-class returns an instance of itself?

Thanks!
Alyssa

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to