haskell / haskell/stylish-haskell
Extension MultiParameterTypeClasses required by stylish-haskell but not by ghc
- Lingua principale
- Haskell
- Stelle
- 1k
- Fork
- 153
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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?
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Valutazione
Questa issue non è ancora stata valutata.