egison-pattern-src v0.2.0.0 Release Notes

Release Date: 2020-03-03 // about 4 years ago
  • ๐Ÿš€ release
    ๐Ÿ”– Version 0.2.0.0 contains some breaking changes including syntactic fixes and API improvements.
    ๐Ÿ“œ Notably, we added Parsable class to expose several variants of parsers in every available mode.
    ๐Ÿ“œ The non-greedy parser is included in parsers provided in Parsable, that is especially needed when we want to parse match clauses in user side.

    ๐Ÿ“ฆ egison-pattern-src Hackage

    ๐Ÿ’ฅ Breaking changes:

    • โž• Add a tuple pattern #12
    • โž• Add a collection pattern #17
    • ๐Ÿ“œ UnexpectedEndOfFile error variant is added for greedy parsers (change in #19)
    • ๐Ÿ‘€ The name of parsing file is passed in ParseMode, not in the argument of parseExpr (change in #19)
    • ๐Ÿ›  Fix syntax of constructor patterns #18
      • We do not require constructor patterns to be parenthaized

    Non-breacking changes:

    • โž• Add non-greedy parsers #19
      • Variants of parsers are provided via Parsable class
    • ๐Ÿ“œ not patterns are now parsed as atom patterns (change in #18)
    • Source type constraint is now just a type class providing few additional methods to Stream (change in #19)

    ๐Ÿ“ฆ egison-pattern-src-haskell-mode Hackage

    ๐Ÿ’ฅ Breaking changes:

    • โž• Add ParseMode record to pass parser configurations (change in #19)
    • ๐Ÿ“œ Provide several variants of parsers (location annotation/non-greedy) by adding Parsable instance (change in #19)
    • ๐Ÿ–จ Use canonical way to print infix operators #20
    • ๐Ÿ‘€ Some changes in egison-pattern-src are inherited here. For details, see CHANGELOG in egison-pattern-src-0.2.0.0.

    ๐Ÿ“ฆ egison-pattern-src-th-mode Hackage

    ๐Ÿ’ฅ Breaking changes:

    • โž• Add ParseMode record to pass parser configurations (change in #19)
    • โœ‚ Remove the dependency on egison-pattern-src-haskell-mode (change in #19)
    • ๐Ÿ“œ Provide several variants of parsers (location annotation/non-greedy) by adding Parsable instance (change in #19)
    • ๐Ÿ‘€ Some changes in egison-pattern-src are inherited here. For details, see CHANGELOG in egison-pattern-src-0.2.0.0.