adjacent let blocks should be joined
Open
in-progress
small
- Dominant language
- Haskell
- Stars
- 1.3k
- Forks
- 147
- PR merge metrics
- No merged PRs in 30d
Description
```elm
let
a = 1
in
let
b = 2
in
a + b
```
should merge the two blocks of definitions. Are there any cases where this changes the meaning of the code?
Contributor guide
No contributing guide indexed for this repository
Research direction
Reproduce the Elm example with elm-format and inspect how adjacent let/in expressions are currently formatted. Determine whether merging the definition blocks preserves meaning in relevant cases, then add coverage for the intended formatting behavior and its semantic edge cases.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- elm
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100