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
Copy file name to clipboardExpand all lines: _posts/2020-10-21-explicit-term-inference-in-scala-3.md
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -101,6 +101,7 @@ Some experience is required when reading this code to understand that its only g
101
101
add a couple of methods to `List[Try[A]]`.
102
102
103
103
### Find out more
104
+
104
105
You can find more information about extension methods on [the dedicated documentation page](http://dotty.epfl.ch/docs/reference/contextual/extension-methods.html).
105
106
I also suggest that you read how they complement another new Scala 3 feature: [opaque types](https://dotty.epfl.ch/docs/reference/other-new-features/opaques.html).
106
107
Later in this post we will see how they simplify a very common pattern: typeclasses.
@@ -281,9 +282,11 @@ The warning can be silenced by adding `import scala.language.implicitConversions
281
282
the message suggests.
282
283
283
284
### Find out more
285
+
284
286
You can learn more about this feature in the [documentation](https://dotty.epfl.ch/docs/reference/contextual/conversions.html).
285
287
286
288
### How was this done in Scala 2?
289
+
287
290
Scala 2 relied on `implicit` defs and `implicit` function values to implement this pattern:
0 commit comments