haskell-prettyprinter / haskell-prettyprinter/prettyprinter

Add a layouter based on JP Bernardy's prettiest printer

Open
#167 0 comments 0 reactions 0 assignees View on GitHub
Feature request Help wanted
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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.