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
defcollectSucceeded:List[A] = ls.collect { caseSuccess(a) => a }
90
90
defgetIndexOfFirstFailure:Option[Int] =
91
91
in.zipWithIndex.find { case (t, _) => t.isFailure }
@@ -224,7 +224,7 @@ object Future {
224
224
}
225
225
```
226
226
227
-
We note again that we had to provide a name which might not be used for the variable. The `implictly` function from Scala 2 is renamed to `summon` in Scala 3.
227
+
We note again that we had to provide a name which might not be used for the variable. The `implicitly` function from Scala 2 is renamed to `summon` in Scala 3.
228
228
229
229
Finally the special import syntax allows users to explicitly import `given` instances by type rather than by name. This makes more sense since we usually refer to them by type as well.
0 commit comments