On Jun 4, 2020, at 2:17 AM, Remi Forax <fo...@univ-mlv.fr> wrote:
> 
> One simple solution is to use different keyword for different kind of 
> patterns,
> by example, "case" for a constant pattern, "instanceof" for the type pattern, 
> "default" the default pattern, etc

That strikes me as making the job of mechanical parsing easier, and the job of 
*reading* harder.
You’d replace a uniform left column of case/case/case with a heterogeneous mix 
of keywords.
And most of the time you wouldn’t care which is which.

Reply via email to