haskell-prettyprinter / haskell-prettyprinter/prettyprinter
Add a layouter based on JP Bernardy's prettiest printer
- Dominant language
- Haskell
- Stars
- 309
- Forks
- 43
- Avg merge
- 21h 25m
- Merged PRs (30d)
- 1
Description
Paper: https://jyp.github.io/pdf/Prettiest.pdf
Implementation: https://hackage.haskell.org/package/pretty-compact
Old blog post: https://jyp.github.io/posts/towards-the-prettiest-printer.html
I'm mostly curious how results and performance would compare to `layoutSmart`.
Contributor guide
No contributing guide indexed for this repository
Research direction
Read the linked Prettiest paper, the pretty-compact implementation, and the older blog post first, then inspect the repository's existing layoutSmart behavior. Define the layouter's intended comparison criteria before implementing it, with completion requiring comparable results and performance measurements against layoutSmart.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- haskell
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100