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
On Tue, Jul 19, 2011 at 12:03 AM, Tom Faulhaber 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 li
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.)
While there's no way to jus
Okay. I see what you mean.
On Jul 16, 2011, at 8:39 PM, Sean Corfield wrote:
> On Sat, Jul 16, 2011 at 7:05 PM, Asim Jalis wrote:
>> The position of the braces might be a red herring here. I was mostly
>> interested in figuring out how to increase the indentation level from
>> 1 to something l
On Sat, Jul 16, 2011 at 7:05 PM, Asim Jalis wrote:
> The position of the braces might be a red herring here. I was mostly
> interested in figuring out how to increase the indentation level from
> 1 to something larger. Even an indentation step of 2 for each level
> would be easier on the eye than
The position of the braces might be a red herring here. I was mostly
interested in figuring out how to increase the indentation level from
1 to something larger. Even an indentation step of 2 for each level
would be easier on the eye than 1.
On Sat, Jul 16, 2011 at 4:23 PM, Sean Corfield wrote:
>
On Sat, Jul 16, 2011 at 12:46 PM, Asim Jalis wrote:
> Is there an easy way to increase the indent of pprint data structures
> from 1 to something like 2 or 4? I've been searching on Google and
> going through the docs and don't see anything.
>
> For example, I would like the following command to p