Playermet / codegoogle.decac

Automatically exported from code.google.com/p/decac
GNU General Public License v3.0
0 stars 0 forks source link

Pattern-matching needs implementation #7

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Matching on cases, performing pattern bindings, and matching whole trees of 
patterns needs to be implemented.  Some syntax is needed for matching on cases 
while binding the whole variant object to a name rather than binding each 
element of the contents to separate names.

Original issue reported on code.google.com by eligottlieb@gmail.com on 27 Apr 2011 at 6:31

GoogleCodeExporter commented 8 years ago
And remember, a non-exhaustive match expression needs to return Unit.

Original comment by eligottlieb@gmail.com on 27 Apr 2011 at 6:43