Hi, Am Dienstag, 2. August 2011 11:03:31 UTC+2 schrieb Ralph Moritz: > > (defn details [] > (let [hash (System.Collections.Hashtable.)] > (doto hash > (. Add "Name" "Ralph") > (. Add "Age" 27)) > hash)) > > > (gen-class :name "ClrExperiments.Employee" > :methods [[details [] System.Collections.Hashtable]]) >
You have to name the function "-details" or specify a different prefix via the gen-class clause. In the JVM Clojure that is. I would expect it to be the same on CLR. Sincerely Meikel -- 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