avh4 / avh4/elm-format

"\r" is converted into "\x0D"

Open
#376 10 comments 0 reactions 0 assignees View on GitHub
discussion
Dominant language
Haskell
Stars
1.3k
Forks
148
PR merge metrics
No merged PRs in 30d

Description

Before:
```elm
"\r\n\t"
```

After:
```elm
"\x0D\n\t"
```

Is this intended? I prefer "\r" for readability.

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the formatting shown in the issue with elm-format and inspect how Elm string escape sequences are rendered. Compare the current \r-to-\x0D behavior with the requested readable output, then verify the formatter preserves the intended escapes in the resulting formatted source.

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
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.