haskell / haskell/stylish-haskell

Extension MultiParameterTypeClasses required by stylish-haskell but not by ghc

Abierto
#129 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

Hi, on top of my file I had the language options:

``` haskell
{-# LANGUAGE DataKinds, FlexibleContexts #-}
{-# LANGUAGE OverloadedLabels, ScopedTypeVariables, TypeFamilies #-}
{-# LANGUAGE TypeOperators, UndecidableInstances #-}
```

For a file which compiled with `ghc`. However, stylish-haskell refuses to format the code unless I add also the option `MultiParamTypeClasses`. This is confusing because the file compiles fine, and in emacs when I try to format it just says that `stylish-haskell` found some errors in the buffer.

Why does this happen? How are the implied extensions processed?

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.