Implement pattern matching #15
Labels
enhancement
New feature or request
semantics
Language meaning and computationally related issues
syntax
Language design related issues
There is currently a simple pattern matching system implemented, tho it does not support destructuring of lists or objects. Most advanced is the
match
expression which is just assigning a variable for each closure and checking if a condition is true, in that case that branch is taken and the value returned.We need proper pattern matching as similar to Elixir for both assignment and match expressions.
Blocked by
The text was updated successfully, but these errors were encountered: