Changelog for ghc-source-gen-0.4.6.0
Changelog for haskell-syntax
0.4.6.0
- Support GHC 9.10.
0.4.5.0
- Support GHC 9.8.
0.4.4.1
- Repair unintentionally broken GHC 8.10.7 support.
0.4.4.0
- Support GHC 9.6.
0.4.3.0
- Support GHC 9.2.
0.4.2.0
- Support GHC 9.
0.4.1.0
- Add
funBindsWithFixity. - Add
standaloneDeriving.
0.4.0.0
Breaking Changes
- Functions defining types and classes now take their
type parameters as
HsTyVarBndr'rather thanOccNameStr. To construct aHsTyVarBndr', use eitherbvarorkindedVar. Affects:class',type',newtype', anddata'. - Remove support for ghc-8.2.*.
Other Changes
- Add support for ghc-8.10.
- Add
kindedVar. - Add
tuplePromotedTy. - Add
from,fromTo,fromThen,fromThenTo. - Add
listComp.
0.3.0.0
- Add
occNameToStrandnameToStrto convert from the GHC types. - Make
listPromotedTyemit the promoted form'[..], to distinguish from regular list types of zero or one elements.
0.2.0.1
- Bump upper-bound to allow
QuickCheck-2.13.
0.2
- Improve overall documentation..
- Move
patBindto a newHasPatBindclass so that it can be used withlet'andwhile'. - Remove
GHC.SourceGen.Syntaxand 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
OccNameStrinstead ofRdrNameStr, and introduce theBVarclass for patterns. - Add
EqandOrdinstances.
- 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
matchand 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
tyPromotedVarpretty-print as'AbcnotAbc. - Add
conP_for pattern constructors with no arguments.
0.1.0.0
Initial version.