Hi everybody, since I started using Clojure I've always felt that a
small function for turning a sequence of chars into a string was
missing. I'm currently using this one even though the name isn't quite
right, but I didn't found better:

(defn unseq [chars]
    (new String (into-array (. Character TYPE) chars)))

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?

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