encore
encore copied to clipboard
Allow tuple patterns on left-hand side of let
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.