> Is there any reason that str is limited to 2 arguments?  It would be
> nice to do (str "foo" "bar" "baz") --> "foobarbaz".

Try it! (Hint: "With more than one arg, returns the concatenation of
the str values of the args.")

> Is there a good reason that + can't do the right thing as with other
> Java and scripting languages?  I think this would be popular with
> non-LISPers.

I think any desire for that disappears once you discover str, but the
implementation reason against it is that it'd require arg checks for
+, which you want to be fast. Look at the source for + & str --
they're both optimized for what they do.

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