tweag / servant-template

A modern template for a Servant
MIT License
53 stars 8 forks source link

Format Haskell with ormolu and elm with elm-format #34

Closed cgeorgii closed 2 years ago

cgeorgii commented 2 years ago
aspiwack commented 2 years ago

Use Ormolu, not Fourmolu. Rationale: this is what we use, and it's not a conversation that I want projects to spend time on.

cgeorgii commented 2 years ago

@marcosh No, unfortunately they are both opinionated and won't allow for configuration. I personally don't see the value of adding the package name to the import list, as it adds more noise than useful information.

marcosh commented 2 years ago

@marcosh No, unfortunately they are both opinionated and won't allow for configuration. I personally don't see the value of adding the package name to the import list, as it adds more noise than useful information.

The value is that, when you have a bunch of imports, you can easily see from which package the values are coming from