haskell / haskell/stylish-haskell

Support c2hs (at least partially)

Abierto
#80 0 comentarios 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Haskell
Estrellas
1k
Forks
153
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

It'd be really cool if stylish-haskell could support files that uses c2hs.
I'm mainly looking for support for making imports stylish.

The `.chs` files include lines like

``` haskell
{#pointer *channel as ^ newtype#}
```

which naturally doesn't parse with a standard haskell parser.

It'd be ok if stylish-haskell only styled the imports which are not in c2hs style, and ignored or skipped the rest of the file when it encountered a c2hs import.

```
{#import Some.Haskell.Module#}
```

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.