haskell-src-exts v1.16.0.1 Release Notes

  • AST changes:

    • Replaced VarA with AppA in Asst (#168).
    • Promoted list/tuple members changed from Promoted to Type (#162).
    • โšก๏ธ Update PatBind, Match, and Alt from containing Binds to Maybe Binds to distinguish between empty where clauses and where clauses with no binds (#244).
    • โž• Add RoleAnnotDecl and Role to support Role annotations (#215).
    • ๐Ÿšš Move NameSpace field from EVar/IVar to EAbs/IAbs.

    Other changes:

    • โž• Add standalone parsers for ImportDecl.
    • ๐Ÿ›  Fix pretty-printer bugs for HaRP (#160).
    • ๐Ÿ–จ Insert parentheses when pretty-printing non-atomic bang types (#169).
    • Un-reverse confusion of left and right arrow (#175).
    • ๐Ÿ–จ Prettyprint option pragmas like 1.15 (#172).
    • ๐Ÿ–จ Conditionally insert lines when pretty-printing declarations (#171).
    • Distinguish deriving (Show) from deriving Show (#189).
    • ๐Ÿ‘ Allow parsing of unicode subscript and superscript functions (#173).
    • ๐Ÿ–จ Pretty print unboxed tuples with spaces (#193).
    • ๐Ÿ‘Œ Improve performance when parsing long extension lists (#200).
    • ๐Ÿ–จ Properly pretty print constructor and class operators (#204).
    • Read Haskell source files as UTF-8 (#223).
    • ๐Ÿ›  Fix ExplicitNamespaces parsing (#216).
    • PolyKinds implies KindSignatures (#220).
    • Preserve location information for infix binds (#205).
    • Preserve positional information in checkPattern (#231).
    • ๐Ÿ“œ Maintain correct line numbers when parsing multiline GHC_OPTIONS (#218).
    • ๐Ÿ“œ Correctly parse "*" with TypeOperators (#81).
    • Export the "pretty" method (#222).
    • โž• Add javascript calling convention for foreign imports (#236).
    • โž• Add non-greedy parsers for module heads (#191).
    • โž• Add a flag to disable arity checking when parsing (#260).
    • ๐Ÿ“œ Parse "-" in type signatures (#206).
    • โž• Add support for type wildcards and expression holes (#252).
    • โž• Add support for Pattern Synonyms (#197).
    • โฌ†๏ธ Bump the happy lower bound (#250).
    • โœ… Make test suite pass on GHC 7.12 (#224).
    • ๐Ÿ‘Œ Support linking Haddock comments to AST nodes (#213).
    • ๐Ÿ“œ Parse multiline LANGUAGE pragmas (#217).
    • ๐Ÿ“œ Parse trailing where (#25).
    • ๐Ÿ“œ Parse modules starting with pragmas and indented "module" keyword (#122).
    • โœ… Use pretty-show to get human readable test outputs.
    • Respect fixity declarations inside where/let/class in applyFixities (#212).
    • ๐Ÿ“œ Correctly parse the combination of view patterns and bang patterns. (#276)

    ** 1.16.x