Commit Graph

98 Commits

Author SHA1 Message Date
Peter Matta
d9707003aa
Fix #112 with support for GHC 9.8 (#113)
* Add missing signature for overloaded `withEpAnnNotUsed`

* Fixed issued caused by #112

* Stack support for GHC 9.8

* Add stack-9.8.yaml

* Bump Tasty to `< 1.6`
2024-04-01 09:56:43 -07:00
Peter Matta
26256ea4ed
Support GHC 9.8 (#108) (#112)
* Support GHC 9.8

* Update ghc-source-gen.cabal

* Add 9.8 GHC CI target
2024-04-01 08:56:12 -07:00
Greg Steuck
d920e8bd86
Repair unintentionally broken GHC 8.10.7 support (#111) 2024-01-26 08:48:27 -08:00
Jinwoo Lee
a758f8fe50 Update the version in the cabal file 2023-12-21 11:34:47 -08:00
Greg Steuck
c6828da9da
Changelog for release 0.4.4.0 (#107)
* Changelog for release 0.4.4.0

* Add CI config

* Narrow the github CI down to ubuntu-latest and remove circleci

---------

Co-authored-by: Claudio Bley <claudio.bley@tweag.io>
2023-12-21 07:32:14 -08:00
Claudio Bley
20ff70b9e8
Support GHC 9.6 (#103)
* Bump ghc version bounds for GHC 9.6

* Support GHC 9.6

* Remove some trailing whitespace

* Start fixing hiding unused imports, more to come

* Add stack config for GHC 9.6

* Add stack config for GHC 9.4

* Use GHC 9.2.8 with lts-20.26

* Adapt ghc-show-ast for GHC 9.6

* Remove unused imports

* Guard imports for GHC versions

* Only warn about dogdy and unused imports

---------

Co-authored-by: Greg Steuck <greg@nest.cx>
2023-12-20 11:17:57 -08:00
Ollie Charles
7527305ed5
Support GHC 9.4 (#102)
* Support GHC 9.4

* Update ghc-source-gen.cabal

* Update package.yaml
2023-11-17 08:42:03 -08:00
Sasha Bogicevic
b572ef1f10
Fix the example in the readme (#101) 2022-09-06 20:20:35 -07:00
Greg Steuck
34bfc7fe1b
Pin newer versions of stackage, update CI versions (#100) 2022-08-21 17:24:38 -07:00
Greg Steuck
70963ae934
Stack 9.0 new nightly (#96)
* Make Cabal 3.7 happy

* Roll forward stack-9.0.yaml to use resolver: nightly-2022-02-12

Co-authored-by: Bodigrim <andrew.lelechenko@gmail.com>
2022-02-11 21:13:11 -08:00
mrgutkun
72e2de1355
Bump version for a ghc-9.2-compatible release (#94) 2022-01-24 16:34:01 -08:00
Brandon Chinn
f6b9130d8f
Add support for GHC 9.2 (#92)
* [prefactor] Split up NoExtField/Placeholder helpers

* [prefactor] Use smart constructors

* Use nightly resolver

* Support GHC 9.2

* Fix for GHC 9.2

* Fix ghc-show-ast

* Readd GHC 9.0 to CI
2021-11-23 20:46:47 -08:00
Greg Steuck
b5b501745d
Update pre-generated cabal file to match package.yaml (#90) 2021-10-08 09:35:23 -07:00
Jinwoo Lee
54ad8866ae
Update package.yaml and ChangeLog before releasing 0.4.2.0. (#89) 2021-08-23 16:09:12 -07:00
Brandon Chinn
c0a451bddf
Commit cabal file (#88)
* Add cabal files
* Simplify CI config
* Check that the Cabal file is up to date
2021-08-20 13:23:49 -07:00
Greg Steuck
74089dd58e
Merge pull request #87 from AriFordsham/ghc9
Add GHC 9 support to CI
2021-08-12 09:58:10 -07:00
Ari Fordsham
ed520491d4 Complete GHC 9 support and CI 2021-08-12 13:23:54 +01:00
Tristan Seligmann
48cbd70632 Support ghc-9.0 2021-08-12 13:10:22 +01:00
Greg Steuck
e1fdb0415f
Merge pull request #85 from blackgnezdo/update-ci
CI: use correct resolver version for ghc-8.10 configuration
2021-08-02 22:37:31 -07:00
Greg Steuck
1f75577114 Relax bounds of tasty to work for lts-18 2021-08-02 20:14:01 -07:00
Greg Steuck
54248b998a CI: use correct resolver version for ghc-8.10 configuration
Based on https://www.stackage.org/lts-18.5
2021-08-02 20:13:52 -07:00
Jinwoo Lee
bf22800465 up the version number to 0.4.1.0 2021-07-08 12:57:36 -07:00
Jinwoo Lee
d76a42880c
Update ChangeLog before releasing 0.4.1.0. (#83) 2021-07-08 12:49:07 -07:00
Greg Steuck
383ebfb01e
Merge pull request #81 from byteally/master
Add support for standaloneDeriving and its variants
2021-05-01 12:03:44 -07:00
Sreenidhi
cc5075b92b Remove unused import conditionally 2021-04-27 01:07:43 +05:30
Sreenidhi
f4476d9e61 Add standaloneDeriving 2021-04-27 00:34:29 +05:30
Sandy Maguire
bb6061cef4
Add funBindsWithFixity (#79) 2021-04-18 11:06:50 -07:00
Greg Steuck
756d4cdc82
Merge pull request #75 from felixonmars/patch-1
Allow tasty 1.3 and QuickCheck 2.14
2021-01-25 11:16:48 -08:00
Felix Yan
ba4efe6e6d
Allow tasty 1.3 and QuickCheck 2.14
All tests pass here with tasty 1.3.1 and QuickCheck 2.14.2.
2021-01-26 02:41:34 +08:00
Jinwoo Lee
8cd230230d
Merge pull request #72 from google/no-allow-newer
Remove `allow-newer: true` from the 8.10 config.
2020-06-02 08:59:06 -07:00
Judah Jacobson
36ad49cf7a Remove allow-newer: true from the 8.10 config.
It's not needed since all of these packages are already compatible with 8.10.
2020-06-01 22:26:34 -07:00
Jinwoo Lee
83c3ccf080
Merge pull request #71 from jinwoo/list-comprehension
Support list comprehensions.
2020-05-28 15:28:59 -07:00
Jinwoo Lee
9d275273e0 update ChangeLog 2020-05-28 13:35:01 -07:00
Jinwoo Lee
cf0bb23e53 Support list comprehensions.
Fixes #64.
2020-05-28 13:32:24 -07:00
Jinwoo Lee
cadf6060c3
Merge pull request #70 from jinwoo/arithseq
Support arithmetic sequences.
2020-05-28 12:33:00 -07:00
Jinwoo Lee
24d44d6557 fix for 8.4 2020-05-28 11:38:55 -07:00
Jinwoo Lee
6bc0965232 Support arithmetic sequences.
`from`      : [a .. ]
`fromThen`  : [a, b .. ]
`fromTo`    : [a .. b]
`fromThenTo`: [a, b .. c]

These are needed before supporting list comprehensions (#64).
2020-05-28 10:50:55 -07:00
Judah Jacobson
3aa49fff6f
Support ghc-8.10. (#69)
The biggest API change is that ghc-8.10 organizes its modules into
a hierarchy, such as `GHC.Hs.Expr` instead of `HsExpr`. To work
around that without adding even more CPP, I added some `other-modules`
providing the new names for older GHC releases.

Fixes #65 .
2020-05-22 11:07:15 -07:00
Judah Jacobson
2222198e23
Remove support for ghc-8.2.*. (#67)
ghc-8.4 was released than 2 years ago. This balances
some of the noise from the upcoming support for `ghc-8.10`.
2020-05-22 09:56:52 -07:00
Judah Jacobson
1b840b9d6a
Remove check.sh. (#68)
It's redundant to our CircleCI, and annoying to keep in sync. I think it's
easy enough to just pass flags to stack on the command-line such as
`--resolver=...`.

Co-authored-by: Judah Jacobson <judah@users.noreply.github.com>
2020-05-22 09:49:12 -07:00
Greg Steuck
eaed789cfe
Merge pull request #66 from google/15.13
Switch to lts-15.13.
2020-05-22 09:27:40 -07:00
Judah Jacobson
194578487e Switch to lts-15.13.
Previously we were building against a release candidate for ghc-8.8.
Now, we can just use a Stack LTS.

Also update the default in `stack.yaml`.
2020-05-22 06:12:40 -07:00
ersran9
079fb254db
promoted tuples (#62)
Also adds an internal `withPlaceHolders` combinator.
2020-02-04 07:36:48 -08:00
Judah Jacobson
766dbae97c
Add kindedVar and take type parameters as HsTyVarBndr'. (#61)
Previously functions like `class'` and `data'` took their
type variables as `OccNameStr` which let them be passed
as overloaded strings; for example, `data' "Maybe" ["a"] ...`.
Now, they take them as `HsTyVarBndr'`, the same as `forall'`,
and can be constructed with, for example,
`data' "Maybe" [bvar "a"] ...`.

This approach lets them be constructed with either `bvar` (for regular
variables) or `kindedVar` (for kind signatures).

Original patch by ersran9@.
2020-02-03 08:23:30 -08:00
Judah Jacobson
76214aa98f
Support {-# SOURCE #-} imports. (#58)
Also adds a unit test for this feature, and a TODO to add more tests
of `module'` and `import'`.
2020-01-03 11:20:50 -08:00
Judah Jacobson
cf79094cfe
Bump the version to 0.3.0.0. (#56) 2019-10-17 11:13:59 -07:00
Judah Jacobson
cf6eb5e260
Fix listPromotedTy on lists of one or zero elements. (#55)
We need the explicit `'` to distinguish from regular lists.
For simplicity, just use it for all type-level lists of
any length.
2019-10-17 11:01:35 -07:00
Judah Jacobson
5986388e5b
Add occNameToStr and nameToStr to convert from the GHC types. (#54)
Previously it was cumbersome to create an `OccNameStr` from an
`OccName` or a `Name`.

Fixes #53.
2019-09-02 23:18:06 -07:00
Judah Jacobson
f6dc875592
Bump upper bound to allow QuickCheck-2.13. (#51) 2019-08-31 18:42:21 -07:00
Judah Jacobson
9b47a06fda
Prepare for release: changelog and bounds (#50) 2019-08-31 17:02:48 -07:00