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

Replace ansi-wl-print with prettyprinter #92

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

9999years
Copy link

This builds off of #91.

The workaround for #91 requires adding the prettyprinter and prettyprinter-ansi-terminal packages anyways, so let's remove the deprecated ansi-wl-print.

The `ansi-wl-pprint` changelog for 1.0.2 says that "Using `show` won't
preserve formatting anymore, as `prettyprinter`s `Show Doc` instance is
annotation invariant."

This patch applies their suggested workaround, `Text.unpack . renderLazy
. layoutPretty defaultLayoutOptions`.

See: https://github.com/ekmett/ansi-wl-pprint/blob/master/Changelog.md#102
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.

1 participant