Hello!

I think I may have found a bug in clojure. When pr-str is called from 
within print, it doesn't produce a read-string-able string. Here is a 
simple example:

user> (let [xs (doall (map #(pr-str %) ["a" "b"]))] (print xs))
("a" "b")
user> (let [xs (map #(pr-str %) ["a" "b"])] (print xs))
(a b)

The reason is that print binds *print-readably* to nil, whereas pr-str does 
not bind it to true, even though I believe it should. If this really is a 
bug, I'd be happy to submit a patch for it.

Thanks, Jenny

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to [email protected]
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
[email protected]
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 unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to