haskell / haskell/stylish-haskell

Comments should not be stripped from 'import' statements and language pragmas

Abierto
#39 13 comentarios 0 reacciones 0 asignados Ver en GitHub
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.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.