MLStyle.jl Versions Save

Julia functional programming infrastructures and metaprogramming facilities

v0.4.7

3 years ago

MLStyle v0.4.7

Diff since v0.4.6

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

3 years ago

MLStyle v0.4.6

Diff since v0.4.5

Closed issues:

  • @as_record slows down the loading (#92)

v0.4.5

3 years ago

MLStyle v0.4.5

Diff since v0.4.4

v0.4.4

3 years ago

MLStyle v0.4.4

Diff since v0.4.3

Closed issues:

  • documentations for UPW (#84)

v0.4.3

3 years ago

MLStyle v0.4.3

Diff since v0.4.2

v0.4.2

3 years ago

MLStyle v0.4.2

Diff since v0.4.1

Closed issues:

  • Runtime generated patterns (#95)
  • support for matching substring with string literal pattern (#98)

v0.4.1

3 years ago

MLStyle v0.4.1

Diff since v0.4.0

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

4 years ago

MLStyle v0.4.0

Diff since v0.3.1

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)

v0.3.1

4 years ago
  1. full featured when syntax: #60, #56 https://thautwarm.github.io/MLStyle.jl/latest/syntax/when/

  2. 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
    
  3. compilations of string patterns now use isequal instead of `===, need updating docs: #68, #62

  4. better error messages: #52

  5. QuoteNode patterns, need updating docs : #70

  6. README wording improvements: #67, #63

v0.3.0

5 years ago

@matchast, @capture, @cond