You can do this > ((comp #(map str %) seq) "abcdef") ("a" "b" "c" "d" "e" "f")
2012/1/15 Bruce Durling <b...@otfrom.com> > Sam, > > Strings can be turned into sequences with seq. > > > (seq "foo") > (\f \o \o) > > The backslashes are because f o and o are character literals. > > cheers, > Bruce > > On Sat, Jan 14, 2012 at 10:13, Samuel Lê <samuel...@gmail.com> wrote: > > Hi, > > > > I was wondering if there was a function to convert a list into a string, > > something like: > > (string-to-list "abcde") ;; (a b c d e) > > > > thanks! > > > > Sam > > > > -- > > 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 > > Note that posts from new members are moderated - please be patient with > your > > first post. > > 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 > > -- > 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 > Note that posts from new members are moderated - please be patient with > your first post. > 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 > -- 庄晓丹 Email: killme2...@gmail.com 伯岩(花名) bo...@taobao.com Site: http://fnil.net 淘宝(中国)软件有限公司 / 产品技术部 / Java中间件 -- 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 Note that posts from new members are moderated - please be patient with your first post. 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