ghc-source-gen v0.2 Release Notes

    • ๐Ÿ‘Œ Improve overall documentation..
    • ๐Ÿšš Move patBind to a new HasPatBind class so that it can be used with let' and while'.
    • โœ‚ Remove GHC.SourceGen.Syntax and export types from relevant modules (for example, HsType' from GHC.SourceGen.Type).
    • โ™ป๏ธ Refactor the treatment of names:
      • Rename the constructors of RdrNameStr.
      • Make some combinators take OccNameStr instead of RdrNameStr, and introduce the BVar class for patterns.
      • Add Eq and Ord instances.
    • ๐Ÿ‘Œ 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 not Abc.
    • โž• Add conP_ for pattern constructors with no arguments.