haskell-prettyprinter / haskell-prettyprinter/prettyprinter
Align mid-line?
Open
Feature request
- Dominant language
- Haskell
- Stars
- 309
- Forks
- 43
- Avg merge
- 21h 25m
- Merged PRs (30d)
- 1
Description
I have a doc that currently pretty prints as
```
S : Set (not in scope)
A : Set (not in scope)
B : Set (not in scope)
ma : State' S A
f : A → State' S B
s : S
s' : S
a : A
```
but would instead like to produce
```
S : Set (not in scope)
A : Set (not in scope)
B : Set (not in scope)
ma : State' S A
f : A → State' S B
s : S
s' : S
a : A
```
aligning on both the `:` and the `(not in scope)`. Is this possible? I can't figure out how to get `align` to do this.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.