On 14 Dec 2010, at 04:22, Robert McIntyre wrote:

It's not a protocol, but you may want to take a look at
clojure.contrib.generic.arithmetic for inspiration.

I wish you luck in your complex number implementation!  I've done my
own using clojure.contrib.generic and can post if it anyone's
interested.

That's actually what clojure.contrib.complex-numbers already uses! And it's based on multimethods, not protocols, because of all those binary operations.

Konrad.

--
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

Reply via email to