haskell / haskell/stylish-haskell
CPP mangling
- Lenguaje dominante
- Haskell
- Estrellas
- 1k
- Forks
- 153
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
I tried having this in my Haskell source:
```haskell
{-# LANGUAGE CPP #-}
module Foo where
import Prelude ()
import Prelude.Compat hiding ((<$>)
#if MIN_VERSION_base_compat (0,9,3)
, (<>)
#endif
)
...haskell
{-# LANGUAGE CPP #-}
module Foo where
import Prelude ()
import Prelude.Compat hiding ((<$>), (<>))
```
(Note: this happens no matter what CPP macro it's testing is, whether it evalutes to true or false.)
However, running stylish-haskell on this seems to ignore the CPP here and simplifies this to:
```
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.