stylish-haskell icon indicating copy to clipboard operation
stylish-haskell copied to clipboard

Normalize constraints parantheses

Open 3noch opened this issue 8 years ago • 0 comments

Both of the following are valid:

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.

3noch avatar Aug 22 '17 01:08 3noch