Changelog for ghc-source-gen-0.2.0.1
Changelog for haskell-syntax
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.