Releases: thautwarm/MLStyle.jl
Releases · thautwarm/MLStyle.jl
v0.4.7
MLStyle v0.4.7
Closed issues:
- Pattern matching when crossing modules just matches the first option. (#102)
- duplicate pattern does not work (#104)
Merged pull requests:
- add docs for match and switch (#106) (@Roger-luo)
v0.4.6
v0.4.5
MLStyle v0.4.5
v0.4.4
v0.4.3
MLStyle v0.4.3
v0.4.2
MLStyle v0.4.2
Closed issues:
v0.4.1
MLStyle v0.4.1
Closed issues:
- Records appear broken (#89)
- Matching on types as values gives the wrong result (#91)
- Feature request: one-liner @match syntax (#93)
Merged pull requests:
- added a fix for issue #89 and tests for @as_record. (#90) (@maxd13)
- Clarify some examples and change order in Pattern docs (#94) (@MasonProtter)
- Allow one-liner match statements (#96) (@MasonProtter)
- Update pattern.md (#97) (@AIxer)
v0.4.0
MLStyle v0.4.0
Closed issues:
- Array pattern performance issues (#32)
- Introduce Cassette.jl into codegen to achieve higher performance and simplify the generated codes (#48)
- Access patterns via qualified ways (#50)
- your work is well appreciated (#65)
- Inconsistent sequential unpacking error ? (#71)
- Or pattern compilation error (#72)
- Expr pattern is not working with Float (#73)
- operators are not correctly handled in Expr pattern (#74)
- qualifiers not working outside the package. (#75)
- macro name is not correctly parsed in patterns (#76)
- Simplify the implementation under the hood with the idea introduced in JuliaCN meetup 2019 (#77)
- Can not match
where
statement (#78) - MLStyle as a generic search and replace tool ? (#81)
- support automatically implementing
is_enum
for constructors of 0-ary (#85) - Union type annotations causing incorrect dispatch (#87)
Merged pull requests:
- typo (#79) (@xiaodaigh)
- Fix Typos (#80) (@inkydragon)
- Install TagBot as a GitHub Action (#82) (@JuliaTagBot)
- UPW[WIP]: faster, lightweight, more flexible and concisely implemented pattern matching (#83) (@thautwarm)
- monomorphic enumerations (#88) (@thautwarm)
mature implementation of extensible pattern matching and concerned facilities
-
full featured
when
syntax: #60, #56
https://thautwarm.github.io/MLStyle.jl/latest/syntax/when/ -
uncomprehensions(for patterns), need updating docs: #58
@data S begin S1(x) end seq = 1:10 @match [S1(i) for i in seq] begin [S1(i) for i in xs] => xs == seq _ => end
-
compilations of string patterns now use
isequal
instead of `===, need updating docs: #68, #62 -
better error messages: #52
-
QuoteNode patterns, need updating docs : #70
introduce a sub-package for easy-to-use tools
@matchast
, @capture
, @cond