Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add compactness options #72

Merged
merged 3 commits into from
Aug 19, 2020
Merged

Add compactness options #72

merged 3 commits into from
Aug 19, 2020

Conversation

georgefst
Copy link
Collaborator

@georgefst georgefst commented Aug 14, 2020

Closes #43.

, outputOptionsStringStyle = EscapeNonPrintable
}
defaultOutputOptionsNoColor
{ outputOptionsColorOptions = Just defaultColorOptionsLightBg }
Copy link
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
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
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