>
> So my vote is that String are atomic built in objects, and at least +, <
> and > should work with Strings.  The behavior should be just like Java,
> so (+ "foo" 2) --> "foo2"
>

-1

Concatenation is not addition. I'm almost opposed to numeric operators
all together. If we wrote (add 2 3), there would be no confusion at
all about what (add "foo" 2) should do, because you'd be writing (conj
"foo" (str 2))

If addition between a string and number is defined, what is
subtraction between a string and a number?

Allen




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