On Mar 3, 2013, at 9:39 PM, Softaddicts wrote: > Is (apply str '()) what you would want instead ?
Well, that does indeed produce "", but for inputs other than () I do indeed want to call str on it, not apply str to it (which would do something else that I don't want). So now I'm just checking for () and handling it specially, and that works. But still it doesn't seem right that (str ()) => "clojure.lang.PersistentList$EmptyList@1" and I wouldn't be surprised if this tripped up others in the future (and maybe me too once I forget about it :-). -Lee -- -- 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/groups/opt_out.