On Nov 12, 7:10 am, Rich Hickey <richhic...@gmail.com> wrote: > An early version of the code for a few important new language > features, datatypes[1] and protocols[2]
Very simple example here: http://paste.lisp.org/display/90329 This shows how to do arithmetic with complex numbers using deftype and defprotocol. It does not support mixing complex and real numbers; not sure how that would work. -SS -- 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