processor / E

Core library for dscript (parser, expressions, etc)
1 stars 1 forks source link

Update pattern matching syntax for value types #3

Closed iamcarbon closed 7 years ago

iamcarbon commented 7 years ago

Use shape instead of customized syntax for matching a single value.

e.g.

match x {
   Type a =>         // phase this out
   (a: Type) =>     // replace with this
}
iamcarbon commented 7 years ago

Done.