Trailing whitespace
sjakobi opened this issue · 1 comments
sjakobi commented
> pPrintString "Union (Cat (Char 'x') Fail) (Cat (Char 'x') Line)"
Union
( Cat ( Char 'x' ) Fail )
( Cat ( Char 'x' ) Line )
There's a trailing space character both on the first and second line. It would be nice if pretty-simple
wouldn't do this, although it hasn't been a big problem for me so far.
cdepillabout commented
I totally agree with this.
I believe the pretty-printer needs to be a little smarter here.
The following issue talks about improving the output printer. If this was completed, removing trailing whitespace might be easier: #25