Skip to content

Add compactness options#72

Merged
georgefst merged 3 commits intocdepillabout:masterfrom
georgefst:compact
Aug 19, 2020
Merged

Add compactness options#72
georgefst merged 3 commits intocdepillabout:masterfrom
georgefst:compact

Conversation

@georgefst
Copy link
Copy Markdown
Collaborator

@georgefst georgefst commented Aug 14, 2020

Closes #43.

, outputOptionsStringStyle = EscapeNonPrintable
}
defaultOutputOptionsNoColor
{ outputOptionsColorOptions = Just defaultColorOptionsLightBg }
Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These were getting a bit repetitive...

@georgefst
Copy link
Copy Markdown
Collaborator Author

I ended up going with trailing parentheses at the end of the line (with one space between each), rather than on a new line with matching columns. Since it was trivial to implement, and more compact anyway.

@cdepillabout
Copy link
Copy Markdown
Owner

I skimmed through the code, but could you add a few simple tests somewhere (maybe at the bottom of Text.Pretty.Simple in the big doctest comment)?

@georgefst georgefst merged commit 73468e3 into cdepillabout:master Aug 19, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Make output less vertical

2 participants