haskell / haskell/stylish-haskell

Normalize constraints parantheses

Aperta
#180 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Haskell
Stelle
1k
Fork
153
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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.

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.