diff --git a/master/CHANGELOG/index.html b/master/CHANGELOG/index.html index cd85958..8ef3c41 100644 --- a/master/CHANGELOG/index.html +++ b/master/CHANGELOG/index.html @@ -1258,6 +1258,15 @@ and this project adheres to Semant
  • Assign patterns to variables (e.g. let x::(t = y::_) = [1, 2, 3, 4] where t == [2, 3, 4])
  • Add builtin types (AENS.name, AENS.pointee, Chain.ttl, Chain.base_tx, Chain.ga_meta_tx, Chain.paying_for_tx) to the calldata and result decoder
  • +
  • Patterns guards +
    switch(x)
    +  a::[] | a > 10 => 1
    +  _              => 2
    +
    +
    function
    +  f(a::[]) | a > 10 = 1
    +  f(_)              = 2
    +
  • Changed