I've got a Clojure library based around a custom data structure stored 
in a struct.  When printing I'd like to override the default string 
output for structs, but I'm not sure how to implement  the .toString 
method used by (str ...) from Clojure.  Anyone know how to do this?

It would be cool if all the Java methods behind Clojure were implemented 
using multi-methods that dispatch on the type of the first argument, and 
then probably use some proxy on the Java side to be able to call into 
Clojure.

-Jeff

--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to