OK, I understand. When you want separate Clojure functions that
execute different code for same arity/different signature case, you
must use the method demonstrated by Christophe. The code I showed was
only useful when you don't care about the type. You could use the
multi-arity function and manually check the type of the argument
inside the function--as Stuart mentioned earlier in the thread, but
that's not as clean as Christophe's example.

-Craig
--~--~---------~--~----~------------~-------~--~----~
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 
clojure+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to