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
The inclusion of using clauses is not the only way in which methods have been updated, type parameter clauses are now allowed in any number and at any position.
14
8
15
9
## Syntax Changes
@@ -51,7 +45,7 @@ trait DB {
51
45
}
52
46
```
53
47
54
-
Note that simply replacing `V` by `k.Value` would not be equivalent. For example, if `k.Value` is `Some[Int]`, only the above allows:
48
+
Note that simply replacing `V` by `k.Value` would not be equivalent. For example, if `k.Value` is `Some[Int]`, only the above allows:
55
49
`getOrElse(k)[Option[Int]](None)`, which returns a `Number`.
0 commit comments