Looks like a bug in clojure.pprint/print-table. Probably should be use `pr-str` instead of `str`.
user=> (str ()) "clojure.lang.PersistentList$EmptyList@1" user=> (pr-str ()) "()" > On Feb 2, 2015, at 3:10 PM, John Lawrence Aspden <aspd...@googlemail.com> > wrote: > > These behave differently in 1.6 with respect to printing the empty list: > > (clojure.pprint/print-table (list {:a 1 :b 2 :c '()})) > | :a | :b | :c | > |----+----+-----------------------------------------| > | 1 | 2 | clojure.lang.PersistentList$EmptyList@1 | > > (clojure.pprint/pprint {:a 1 :b 2 :c '()}) > {:a 1, :b 2, :c ()} > > Is this a bug? > > I think I prefer the behaviour of the second one . > > Cheers, John. -- 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.