Hi,

On Feb 23, 9:47 am, Alfred Tarski <atar...@gmail.com> wrote:

> I have this function:
>
> (defn wrap [x]
>   (str "%" x "%"))
>
> and I do
>
> bf=> (str "boo hoo " (map wrap ["fdfd" "ggfs"]))
> "boo hoo clojure.lang.lazy...@9e050eb0"
>
> This looks odd to me, but if the powers that be consider this to be
> the right behavior of str then my question is: what do I need to do do
> get what I want?

Use apply: (apply str "boo hoo " (map wrap ["fdfd" "ggfs"])).

Sincerely
Meikel

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