haskell / haskell/stylish-haskell
Comments should not be stripped from 'import' statements and language pragmas
Abierto
bug
lossy
- Lenguaje dominante
- Haskell
- Estrellas
- 1k
- Forks
- 153
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
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.
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Evaluación
Este issue todavía no se ha evaluado.