On 6-Dec-09, at 3:46 PM, ataggart wrote:

> While there may be a way to work around it, if you're just dispatching
> on the type of the first arg, you might want to use defprotocol
> instead of defmulti.

True, and I likely will for most situations. In what I hope to do,  
I've got a common situation where I'd like to dispatch on two  
arguments. In something like Ruby this requires a double dispatch, but  
in CL it doesn't.

Cheers,
Bob

----
Bob Hutchison
Recursive Design Inc.
http://www.recursive.ca/
weblog: http://www.recursive.ca/hutch



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