encore icon indicating copy to clipboard operation
encore copied to clipboard

Allow tuple patterns on left-hand side of let

Open supercooldave opened this issue 8 years ago • 0 comments

Add support for:

let (x,y) = foo() in e

and so forth for other let variations.

This should compile to something like

match foo() with
  (x,y) => e

A natural extension to this idea is to allow any pattern in place of (x,y), and the implementation would be more or less the same.

supercooldave avatar May 26 '16 08:05 supercooldave