haskell / haskell/stylish-haskell

Normalize constraints parantheses

Open
#180 0 comments 0 reactions 0 assignees View on GitHub
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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.