haskell / haskell/stylish-haskell
Comments should not be stripped from 'import' statements and language pragmas
Open
bug
lossy
- Dominant language
- Haskell
- Stars
- 1k
- Forks
- 153
- PR merge metrics
- No merged PRs in 30d
Description
Consider:
``` haskell
module Foo where
import Data.Monoid -- from base
import Data.List -- from base
```
And then:
```
$ stylish-haskell /tmp/Foo.hs
module Foo where
import Data.List
import Data.Monoid
$
```
The comments shouldn't be stripped from the end, ideally. At the very least this is inconsistent with the default behavior which will preserve comments in most other positions.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.