Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Use ghc-lib-parser rather than haskell-src-exts | Jasper Van der Jeugt | 2020-10-02 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch swaps out the parsing library from `haskell-src-exts` to `ghc-lib-parser`, which gives us better compatibility with GHC. Because almost every module heavily used the Haskell AST provided by `haskell-src-exts`, this was a huge effort and it would not have been possible without Felix Mulder doing an initial port, GSoC student Beatrice Vergani porting several other steps, and Łukasz Gołębiewski and Paweł Szulc who helped me finish up things in the home stretch. I've generally tried to keep styling 100% compatible with what was there before, but some issues may have unintentionally slipped in so please report those. This introduces one new import styling contributed by Felix: when wrapping import lists over multiple lines, you can repeat the module name, e.g.: import Control.Monad.Except as X (ExceptT (..), MonadError (..), liftEither) import Control.Monad.Except as X (runExceptT, withExceptT) This is activated by using `import_align: repeat`. Secondly, a new Step was added, `module_header`, which formats the export list of a module, including the trailing `where` clause. Details for this new step can be found in the `data/stylish-haskell.yaml`. Co-Authored-By: Beatrice Vergani <beatrice.vergani11@gmail.com> Co-Authored-By: Paweł Szulc <paul.szulc@gmail.com> Co-Authored-By: Łukasz Gołębiewski <lukasz.golebiewski@gmail.com> Co-Authored-By: Felix Mulder <felix.mulder@klarna.com> | ||
* | Remove split-sections stanza | Shayne Fletcher | 2020-08-24 |
| | |||
* | Use `-split-sections` | Colin Woodbury | 2020-08-17 |
| | |||
* | Bump Cabal-version to 1.10 | Jasper Van der Jeugt | 2020-08-02 |
| | |||
* | Bump Cabal upper bound to 3.3 | Jasper Van der Jeugt | 2020-08-02 |
| | |||
* | Bump stack.yaml | Jasper Van der Jeugt | 2020-06-27 |
| | |||
* | Switch to HsYAML library | vijayphoenix | 2020-01-26 |
| | |||
* | Bump haskell-src-exts to 1.23 | Chris Martin | 2020-01-09 |
| | |||
* | Make language extension prefix configurable | Flavio Corpa | 2019-11-20 |
| | |||
* | Bump haskell-src-exts in stack.yaml to 1.22.0 | Jasper Van der Jeugt | 2019-11-03 |
| | |||
* | Bump Cabal upper bound to 3.1 | Jasper Van der Jeugt | 2019-10-29 |
| | |||
* | Bump version to 0.9.3.0v0.9.3.0 | Jasper Van der Jeugt | 2019-10-08 |
| | |||
* | Update to Stack LTS 14.4 | Basile Henry | 2019-09-03 |
| | |||
* | Bump `haskell-src-exts` upper bound | Colin Woodbury | 2019-06-12 |
| | | | | When using `1.21.0`, this allows for correct parsing of `DerivingVia` syntax. | ||
* | Update bounds to support >= lts-2.5 (#227) | Brandon Chinn | 2019-01-02 |
| | |||
* | Bump aeson to 1.3 | Jasper Van der Jeugt | 2018-04-26 |
| | |||
* | Bump haskell-src-exts dependency | Jasper Van der Jeugt | 2017-12-26 |
| | |||
* | Bump version to 0.8.1.00.8.1.0 | Jasper Van der Jeugt | 2017-06-19 |
| | |||
* | Install ghc using stack on travis | Jasper Van der Jeugt | 2017-01-20 |
| | |||
* | Bump optparse-applicative to 0.13.0.0 | Jasper Van der Jeugt | 2016-08-23 |
| | |||
* | Bump haskell-src-exts to 1.18 | Jasper Van der Jeugt | 2016-08-01 |
| | |||
* | Merge branch 'master' of https://github.com/bitemyapp/stylish-haskell into ↵ | Jasper Van der Jeugt | 2016-02-01 |
|\ | | | | | | | bitemyapp-master | ||
| * | gitignore, adding stack.yaml | Chris Allen | 2015-07-13 |
| | |||
* | Add stack.yaml | Jasper Van der Jeugt | 2015-09-28 |
Closes #95 |