On Feb 11, 11:46 am, BerlinBrown <berlin.br...@gmail.com> wrote:
> (defn -init [] ())
>
> (defn -testDog []
>   (println "Dog"))

There's your problem: Java methods always need an extra first
argument, the object on which the method was called.  It's like the
"this" keyword in Java.

-Stuart Sierra
--~--~---------~--~----~------------~-------~--~----~
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
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