On Jan 25, 2009, at 6:21 PM, budu wrote:
So, is there a better way to accomplish this? Then, do someone have a better name for it? And finally, would this be worth including into Clojure or Clojure-contrib, with a better name?
The usual way to do this is with "(apply str ...)" For example: user> (apply str (seq "Hello there")) "Hello there" user>Given this succinct way to accomplish the task, I think a new function isn't necessary.
More generally, "into" and "empty" can be used to accomplish a kind of "unseq" operation for other kinds of collections. As I recall "empty" was created as a result of discussions about an "deseq" type of operation.
--Steve
smime.p7s
Description: S/MIME cryptographic signature