and by that I mean: adding this toString from ASeq: public String toString(){ return RT.printString(this); } to the clojure.lang.PersistentList.EmptyList class
=> (.toString '(1)) "(1)" => (.toString '()) "()" On Mon, Mar 4, 2013 at 6:23 AM, AtKaaZ <atk...@gmail.com> wrote: > => (.toString '()) > "clojure.lang.PersistentList$EmptyList@1" > => (.toString '(1)) > "(1)" > > so should be an easy fix ;) > > > On Mon, Mar 4, 2013 at 6:17 AM, AtKaaZ <atk...@gmail.com> wrote: > >> I agree, I think the reason is that they are two different classes: >> => (class '(1)) >> clojure.lang.PersistentList >> => (class ()) >> clojure.lang.PersistentList$EmptyList >> >> >> >> On Mon, Mar 4, 2013 at 3:30 AM, Lee Spector <lspec...@hampshire.edu>wrote: >> >>> >>> > (str ()) >>> "clojure.lang.PersistentList$EmptyList@1" >>> >>> Is that intended? I expected it to give "". >>> >>> This happens in Clojure 1.3, 1.4, and 1.5. >>> >>> -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. >>> >>> >>> >> >> >> -- >> Please correct me if I'm wrong or incomplete, >> even if you think I'll subconsciously hate it. >> >> > > > -- > Please correct me if I'm wrong or incomplete, > even if you think I'll subconsciously hate it. > > -- Please correct me if I'm wrong or incomplete, even if you think I'll subconsciously hate it. -- -- 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.