On Feb 11, 11:46 am, BerlinBrown <[email protected]> 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 [email protected]
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to