avh4 / avh4/elm-format

Non-idempotent list formatting

Open
#760 1 comment 0 reactions 0 assignees View on GitHub
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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.