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

Renderers based on text-builder-linear #226

Open
sjakobi opened this issue May 28, 2022 · 2 comments
Open

Renderers based on text-builder-linear #226

sjakobi opened this issue May 28, 2022 · 2 comments

Comments

@sjakobi
Copy link
Collaborator

sjakobi commented May 28, 2022

…should be faster than the existing renderers.

See https://hackage.haskell.org/package/text-builder-linear.

@oberblastmeister
Copy link

@sjakobi I would like to implement this. Should I create a new package, such as prettyprinter-linear, or should I directly add this to prettyprinter. Are we trying to keep dependencies low? text-builder-linear depends on bytestring, quote-quot, and template-haskell.

@sjakobi
Copy link
Collaborator Author

sjakobi commented Sep 17, 2022

Thanks for the offer, @oberblastmeister! :)

Indeed prettyprinter can't easily accept dependencies on non-boot libraries. So my suggestion would be to put the new renderers in a new package prettyprinter-text-builder-linear.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants