Could/Should the max function be modified to work against the
Comparable interface instead of expecting its arguments to be numbers?

I'm working with a sequence of strings that are dates in the
"yyyy-mm-dd" format, and I want to find the max. Calling max gives an
exception about not being able to cast to a java.lang.Number.


Paul

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