Commit graph

10 commits

Author SHA1 Message Date
Neal Gafter
ba74636e6c
Minor changes to patterns spec: (#2171)
- Allow trailing comma in property pattern
- Allow trailing comma in switch expression
- Rename deconstruct_subpattern to positional_subpattern
2019-01-24 16:09:02 -08:00
Amadeusz Sadowski
52307b6f38 Upate patterns.md - always use switch_expression (#2096)
There were some not updated usages of *match_expression*. I've replaced all of them with *switch_expression* as I guess was intended.
2018-12-20 20:57:25 -08:00
Neal Gafter
a82f6a7950
Update link to scala paper 2018-12-20 13:14:35 -08:00
Neal Gafter
73c4bd321a
Update patterns.md (#2094)
* Update patterns.md per review comments
2018-12-20 11:19:54 -08:00
Neal Gafter
443f521cb7
Update patterns.md 2018-12-19 17:04:12 -08:00
Michael D
d6f71bba14 Fix typos in patterns 2018-10-08 23:10:52 +02:00
Eik Rentzow
236dff2783 Corrected patterns.md to use discard pattern ('_') in examples instead of star (*). (#610) 2017-06-05 12:57:57 -07:00
Neal Gafter
cd7964ed24 Clarify that a constant pattern must be constant after the conversion. 2017-03-27 14:43:38 -07:00
Neal Gafter
92be8b7c9f Update the spec for handling constant patterns (implementation in progress) (#81) 2017-02-27 12:46:08 -08:00
Neal Gafter
42db01c2e6 Add an early (already out-of-date) draft of pattern-matching spec. (#44) 2017-02-09 12:24:13 -08:00