2010/2/17 Wolfgang Meyer <wolfgang.m.me...@googlemail.com>:
> To convert a string to a char sequence, you can use:
>
> (seq (.toCharArray "abc"))
> Clojure strings are Java strings, in case you didn't know.
> Wolfgang


Not so hard.

In the general case you have nothing to do: basic collection handling
functions from core call (seq) on their arguments, and since (seq
"foo") return (\f \o \o) (note there's no need to call
(.toCharArray)), you have nothing to do.

Look:

1:4 paredit.parser=> (seq "foo")
(\f \o \o)

1:6 paredit.parser=> (map identity "foo")

HTH,

-- 
Laurent

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

Reply via email to