RFC: redundant parentheses
Open
Nobody has claimed this yet.
RFC
- Dominant language
- Lean
- Stars
- 9.2k
- Forks
- 990
- Avg merge
- 1d 17h
- Merged PRs (30d)
- 175
Description
Can the prettyprinter please stop writing redundant parentheses?
example : ∀ c : Char, c = c := by
sorry
Placing the cursor after by displays:
⊢ ∀ (c : Char), c = c
It would be better to display:
⊢ ∀ c : Char, c = c
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the example in the issue and inspect the prettyprinter output when the cursor is placed after by. Compare the current output with the requested form and define completion as displaying ∀ c : Char without redundant parentheses.
Written by the indexing model from the issue text.
Assessment
- Domain
- compilers
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100