Commit Graph

571 Commits (a23ef696e8c63ab7a3f55100faf3504e66e9b6c2)

Author SHA1 Message Date
Lennart Spitzner 2b95e747cd Update stack.yaml to allow testing nightly again 2019-06-12 10:44:09 +02:00
Lennart Spitzner 42f566b94a Support QuasiQuotation-splices 2019-06-12 09:17:21 +02:00
Lennart Spitzner 305f98fad7 Update .travis.yml for current ghc versions 2019-06-06 00:34:17 +02:00
Lennart Spitzner 42b9ddaf0f Merge pull request #222 from tchajed/stack-13.14-compat 2019-06-06 00:25:13 +02:00
Lennart Spitzner 3e1938aa7f Merge branch 'master' into stack-13.14-compat
# Conflicts:
#	brittany.cabal
2019-06-05 22:54:18 +02:00
Lennart Spitzner e9a37242ae
Merge pull request #230 from alanz/master
Allow ghc-exactprint-0.6.1
2019-06-05 22:48:29 +02:00
Lennart Spitzner 078f666fd6
Merge pull request #221 from hackeryarn/patch-1
Added Emacs to Editor Integration
2019-06-05 22:46:10 +02:00
Lennart Spitzner 517eda8526 Merge pull request #216 from matt-noonan/master 2019-06-05 22:41:22 +02:00
Lennart Spitzner 4f2673a2eb
Merge pull request #215 from matt-noonan/multiline-app-with-comments
Disable single-line HsApp with argument comments.
2019-06-05 21:06:02 +02:00
Lennart Spitzner f9d70cf546 Refactor CPP slightly, Add test-cases 2019-06-05 21:05:27 +02:00
Lennart Spitzner 09a227fcce Add quick regression-test for fixed issue 2019-06-05 20:12:28 +02:00
Lennart Spitzner 77032326ae
Merge pull request #213 from bsima/nix-build
Add build instructions for nix
2019-06-05 20:07:38 +02:00
Lennart Spitzner 059bb9402e Merge pull request #198 from ruhatch/type-synonyms 2019-06-05 15:56:50 +02:00
Lennart Spitzner ca3c8b6f9e Add one source doc 2019-06-05 15:56:32 +02:00
Lennart Spitzner bd8b743e36 Document terminology "regular comments" 2019-06-05 15:42:47 +02:00
Alan Zimmerman d161648f24 Allow ghc-exactprint-0.6.1 2019-06-02 22:53:00 +02:00
Tej Chajed ffc1e6918c
Add stack configuration for GHC 8.6 2019-05-31 17:00:38 -04:00
Artem Chernyak ff7dca9bb5
Added Emacs to Editor Integration 2019-03-12 21:29:12 -05:00
Matt Noonan 8551600377 Explicitly handle empty HsCase and HsLamCase. 2019-02-04 22:56:46 -05:00
Matt Noonan 6aa537089d Disable single-line HsApp with argument comments. 2019-02-04 15:10:55 -05:00
Ben Sima e67a46f264 Refactor nix expressions
This way, the default.nix file can be imported to other projects. In order to
build brittany, we now need to do `nix build -f release.nix`, which will
pull in the version overrides from shell.nix.
2019-01-29 14:07:08 -08:00
Ben Sima f68fbb3118 Add build instructions for nix 2019-01-26 10:55:29 -08:00
Lennart Spitzner 6c187da8f8 Fix cabal file for doc project 2018-11-30 22:13:02 +01:00
Lennart Spitzner 784e4d0aed Fix prelude.inc handling in .cabal to make new-install work
Hopefully fixes both #162 and #200.
2018-11-30 00:18:54 +01:00
Lennart Spitzner 621e00bf3f Fix indentation (comments) after "if" (Fixes #167) 2018-11-14 14:53:08 +01:00
Rupert Horlick 01e31b4256
Add type fam instance formatting 2018-11-13 17:07:27 -04:00
Lennart Spitzner 1290e8cd27 Bump CI ghc versions (8.4.3->8.4.4, 8.6.1->8.6.2) 2018-11-12 19:00:21 +01:00
Lennart Spitzner 2fb8871d70 Merge branch 'ghc-8.6' 2018-11-12 18:58:16 +01:00
Lennart Spitzner e7d8f59e93 travis-ci: Add ghc-8.6, Clean up a bit 2018-11-04 22:14:02 +01:00
Lennart Spitzner 34735e27ef Add compat with GHC-8.6 API 2018-11-04 22:14:00 +01:00
Lennart Spitzner 9d915232c0 Merge branch 'where-newlines' 2018-11-04 19:23:50 +01:00
Lennart Spitzner 2eb22e730f Add tests for empty lines around where 2018-11-04 18:13:37 +01:00
Lennart Spitzner 522e40c8ed Retain empty lines before "where"
only applies to local "where"s (not module..where)
2018-11-04 18:13:37 +01:00
Lennart Spitzner 268cd333f3
Merge pull request #189 from ruhatch/type-synonyms
Add type synonym formatting
2018-11-04 18:05:29 +01:00
Lennart Spitzner ad5868eb76 Fix spacing bugs, Clean up implemenation
- Normalize spaces on type alias lhs. unnecessary spaces were
  retained previously, e.g.
  "type   (   (   a  :%:   b   ) c   ) = (a , c)"
  had non-optimal output
- Clean up separator usage
- Remove backend hacks (to some degree)
- Minor reformatting and premature optimization
2018-10-27 16:15:28 +02:00
Rupert Horlick e7d8b5f1ab
Fix type synonym comments 2018-10-19 15:55:29 -04:00
Rupert Horlick b249c10054
Deal with parens inside comments on 8.4.3 2018-10-17 17:01:31 -04:00
Rupert Horlick e1b43531a8
Add type synonym formatting 2018-10-16 19:28:30 -04:00
Lennart Spitzner d769f30c15 travis: Prevent duplicate compilation 2018-10-14 18:25:39 +02:00
Lennart Spitzner 9de3564e00 travis: Apply fix to stack and new-build too 2018-10-14 00:56:35 +02:00
Lennart Spitzner 818768cd4b
Merge pull request #187 from ruhatch/master
Add instance formatting, defaulting to ExactPrint in places
2018-10-14 00:46:53 +02:00
Lennart Spitzner 11dc30fbe1 Fix travis setup once more 2018-10-13 23:57:37 +02:00
Lennart Spitzner 38216cdc02 Add longer doc/Refactor stripWhitespace' 2018-10-11 20:14:29 +02:00
Rupert Horlick 66fd44058d
Add instance formatting for simple case 2018-10-10 14:32:58 -04:00
Lennart Spitzner 6dc5561d08
Merge pull request #186 from sergv/unboxed-tuples
Unboxed tuples
2018-09-30 21:19:15 +02:00
Lennart Spitzner 04f441205d Try fix travis new-build test failure with a -j1 2018-09-24 00:09:01 +02:00
Lennart Spitzner 71efa54954 Move tests, minor Refactoring, Add comments 2018-09-23 23:32:05 +02:00
Lennart Spitzner 460bd4dd2b
Merge pull request #185 from 5outh/benjamin/file-name-errors
Append input path name to UnknownNode errors
2018-09-23 22:29:42 +02:00
Sergey Vinokurov 9755db1d05
Unify "(#", "#)" under single name, docParenHashL and docParenHashR 2018-09-18 09:14:20 +01:00
Sergey Vinokurov 6898d3ef44
Lay out unboxed tuples in types 2018-09-18 09:07:15 +01:00