haskell / haskell/haskell-mode
"=>" is not indented as "->" nor "::"
Open
- Dominant language
- Emacs Lisp
- Stars
- 1.4k
- Forks
- 354
- Avg merge
- 5d 10h
- Merged PRs (30d)
- 2
Description
Hi,
"=> is not indented as "->" in function type signature and there is no obvious way to achieve this
through customize-variable.
Expected unified indentation
```
foo
:: (Monad m)
=> Int
-> m String
```
Actual indentation
```
foo
:: (Monad m)
=> Int
-> m String
```
Contributor guide
Research direction
No file or test is named. Start by locating the indentation logic for Haskell function type signatures and the customization path for indentation variables; reproduce the shown example and make `=>` align with `::` and `->`, then verify the existing indentation tests if available.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- emacs, haskell
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100