haskell / haskell/stylish-haskell

Support c2hs (at least partially)

Aperta
#80 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Haskell
Stelle
1k
Fork
153
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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#}
```

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.