Allen Rohner <aroh...@gmail.com> writes:

>> I agree regarding concatenation as well, but I think the case for
>> comparison of non-numerics is still pretty strong.
>
> Are you referring to using <, >, =, with objects that implement
> java.lang.Comparable?
>
> i.e. given x.compareTo(y) == -1
> (< x y)
> => true
>
> I would find that useful.

I'm not sure of the details since I don't know much about Java, but that
sounds about right. I'm working on a date library, and having to use
functions like earlier? and later? rather than >, <, <=, and >= feels
awkward.

-Phil

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