> On Feb 26, 2016, at 9:53 AM, Lee Spector <lspec...@hampshire.edu> wrote:
> 
> But sometimes it does matter, e.g. (str '(1 2 3 4 5 6 7 8 9 10)) => "(1 2 3 4 
> 5 6 7 8 9 10)", whereas (str (map inc (range 10))) => 
> "clojure.lang.LazySeq@c5d38b66"

There’s a bit of subtlety around `str` vs. `pr-str`.  In many case, pr-str will 
give more intuitive results.  Unfortunately, it’s not easy for beginners to 
discover.

-- 
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 unsubscribe from this group and stop receiving emails from it, send an email 
to clojure+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to