haskell / haskell/stylish-haskell
Normalize constraints parantheses
Open
- Dominant language
- Haskell
- Stars
- 1k
- Forks
- 153
- PR merge metrics
- No merged PRs in 30d
Description
Both of the following are valid:
```haskell
equals1 :: (Eq a) => a -> a
equals2 :: Eq a => a -> a
```
Some people like the first because it keeps things consistent when you start introducing more constraints. Some people prefer the second because it's fewe characters. But I doubt anyone prefers *both* in the same codebase.
It would be nice to support normalizing to either of these based on the settings.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.