You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Additionally, we need to handle the `else` branches.
166
+
```
167
+
140
168
For more info refer to the docs on [Explicit Nulls](https://dotty.epfl.ch/docs/reference/other-new-features/explicit-nulls.html).
141
169
142
170
## New syntax for given instances defining extension methods
@@ -178,7 +206,7 @@ Using present given syntax, it can seem awkward to define parameterised instance
178
206
```scala
179
207
givenlistOrd[T](givenOrd[T]):Ord[List[T]] ...
180
208
```
181
-
it's particululary unfortunate for anonymous given instances:
209
+
it's particularly unfortunate for anonymous given instances:
182
210
```scala
183
211
given [T](givenOrd[T]):Ord[List[T]] ...
184
212
```
@@ -224,7 +252,7 @@ After a period of experimentation, either the new or old way will remain.
224
252
## New match syntax
225
253
226
254
We introduce an improved treatment of `match`. We reintroduce `match` as an
227
-
alphanumeric, left-associative, infix operator that can support chain matches:
255
+
alphanumeric, left-associative, infix operator that can support chained matches:
228
256
229
257
```scala
230
258
xs match {
@@ -245,9 +273,9 @@ xs.match {
245
273
}
246
274
```
247
275
248
-
You can read more on our docs [Match Expressions](https://dotty.epfl.ch/docs/reference/changed-features/match-syntax.html) and on the interesting discussions on[contributors](https://contributors.scala-lang.org/t/pre-sip-demote-match-keyword-to-a-method/2137/2).
276
+
You can read more in our docs [Match Expressions](https://dotty.epfl.ch/docs/reference/changed-features/match-syntax.html) and on the interesting discussions in[contributors](https://contributors.scala-lang.org/t/pre-sip-demote-match-keyword-to-a-method/2137/2).
249
277
250
-
## New quoted pattern matching
278
+
## Metaprogramming: New quoted pattern matching
251
279
252
280
We introduce a high-level API to deconstruct or extract values out of `Expr`
253
281
using pattern matching. It consists of high-level extractors for getting static
0 commit comments