- Proposal: TBD
- Author: Erica Sadun
- Status: TBD
- Review manager: TBD
This proposal simplifies guard case
and if case
grammar. It drops the case
keyword and replaces the assignment sign with the pattern matching (~=
) operator. The results are simpler, they reads better, and it transfers the responsibility of saying "this is pattern matching" from case
to ~=
.