egison-pattern-src v0.2.0.0 Release Notes
Release Date: 2020-03-03 // about 4 years ago-
๐
๐ Version 0.2.0.0 contains some breaking changes including syntactic fixes and API improvements.
๐ Notably, we addedParsable
class to expose several variants of parsers in every available mode.
๐ The non-greedy parser is included in parsers provided inParsable
, that is especially needed when we want to parse match clauses in user side.๐ฆ egison-pattern-src
๐ฅ 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 ofparseExpr
(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
- Variants of parsers are provided via
- ๐ not patterns are now parsed as atom patterns (change in #18)
Source
type constraint is now just a type class providing few additional methods toStream
(change in #19)
๐ฆ egison-pattern-src-haskell-mode
๐ฅ 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
๐ฅ 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.