Non-idempotent list formatting
Open
0.9
bug
discussion
- Dominant language
- Haskell
- Stars
- 1.3k
- Forks
- 147
- PR merge metrics
- No merged PRs in 30d
Description
input:
```elm
x = [ 1, 2 {- A -} ]
```
first pass:
```elm
x =
[ 1, 2
{- A -}
]
```
second pass:
```elm
x =
[ 1
, 2
{- A -}
]
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the issue with the Elm input shown in the report and run elm-format twice, comparing the first and second outputs. Trace the formatter path handling list formatting and comments; done means formatting the result again produces identical output.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- elm, haskell
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100