haskell / haskell/stylish-haskell
Comments should not be stripped from 'import' statements and language pragmas
Aperta
bug
lossy
- Lingua principale
- Haskell
- Stelle
- 1k
- Fork
- 153
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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.
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.