haskell / haskell/stylish-haskell

Supporting more flexible configuration options

Abierto
#64 3 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

This is a bit of a brain dump...

We currently have a fork of stylish-haskell that matches the coding style we use at Silk. It does pretty specific things, like putting qualified imports at the bottom and doing numeric sorting where possible. I don't think it'd make sense to make a separate configuration option for this as "silk" is the only common denominator. But we also would rather not maintain a fork since this style is also used in our open source packages.

Could we keep the current defaults to not cause breakage but add more options for stylish so it's easier to customize? I thought a bit about the implementation and I think just using a Reader containing fine grained options would make the existing code cleaner and allow for easier extension.

The downside of this would be that there are a lot of things people might want to customize and if a lot of additions are submitted maintenance might become a pain. Especially since all the combinations need to play well together and some are mutually exclusive.

I'd appreciate some input on this!

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.