- Support GHC 9.8.
- Repair unintentionally broken GHC 8.10.7 support.
- Support GHC 9.6.
- Support GHC 9.2.
- Support GHC 9.
- Add
funBindsWithFixity
. - Add
standaloneDeriving
.
- Functions defining types and classes now take their
type parameters as
HsTyVarBndr'
rather thanOccNameStr
. To construct aHsTyVarBndr'
, use eitherbvar
orkindedVar
. Affects:class'
,type'
,newtype'
, anddata'
. - Remove support for ghc-8.2.*.
- Add support for ghc-8.10.
- Add
kindedVar
. - Add
tuplePromotedTy
. - Add
from
,fromTo
,fromThen
,fromThenTo
. - Add
listComp
.
- Add
occNameToStr
andnameToStr
to convert from the GHC types. - Make
listPromotedTy
emit the promoted form'[..]
, to distinguish from regular list types of zero or one elements.
- Bump upper-bound to allow
QuickCheck-2.13
.
- Improve overall documentation..
- Move
patBind
to a newHasPatBind
class so that it can be used withlet'
andwhile'
. - Remove
GHC.SourceGen.Syntax
and export types from relevant modules (for example,HsType'
fromGHC.SourceGen.Type
). - Refactor the treatment of names:
- Rename the constructors of
RdrNameStr
. - Make some combinators take
OccNameStr
instead ofRdrNameStr
, and introduce theBVar
class for patterns. - Add
Eq
andOrd
instances.
- Rename the constructors of
- Support more kinds of syntax:
- Deriving clauses
- Import/export lists
- Record expressions and patterns
- Type family instances
- Pattern synonyms (currently, only the prefix form)
- Refactor the names and types of
match
and related combinators, optimizing for the common case of a single expression on the RHS. - Fix edge cases when parsing qualified operators.
- Add parentheses in some cases that were previously missing them.
- Make
==>
have the same precedence as-->
to make it easier to combine them. - Make
tyApp
's precedence match-XTypeApplications
. - Fix pretty-printing of rational literals.
- Make
tyPromotedVar
pretty-print as'Abc
notAbc
. - Add
conP_
for pattern constructors with no arguments.
Initial version.