Hmmm, looking back at the code, I see that I mis-remembered the fact that lists and vectors were different. They both (along with maps) will break rather than fill. Arrays and sets both fill rather than break.
I'm not sure how much logic there is around this. It just fit my intuition about how the different structures would be most likely used when I wrote it. It still seems about right. But if folks think it should be different, it's easy to change. On Jul 19, 1:19 pm, Sean Corfield <seancorfi...@gmail.com> wrote: > On Tue, Jul 19, 2011 at 12:03 AM, Tom Faulhaber <tomfaulha...@gmail.com> > wrote: > > Sean's remark is right for writing code, but not really relevant for > > pretty printed data structures. The pretty printer will either avoid > > "(foo a" followed by a line break or fill that line full. (By default, > > for lists it breaks the lines and for vectors it fills them.) > > Interesting. I didn't realize it took a different approach. > > Out of curiosity, what is the thinking behind the difference between > lists and vectors? > -- > Sean A Corfield -- (904) 302-SEAN > An Architect's View --http://corfield.org/ > World Singles, LLC. --http://worldsingles.com/ > Railo Technologies, Inc. --http://www.getrailo.com/ > > "Perfection is the enemy of the good." > -- Gustave Flaubert, French realist novelist (1821-1880) -- 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