@@ -53,7 +53,7 @@ scenarios where plain parameters would be too cumbersome. For
53
53
instance, type classes would be a lot less popular if one would have
54
54
to pass all dictionaries by hand. Implicit parameters are also very
55
55
useful as a general context passing mechanism. For instance in the
56
- _ dotty _ compiler, almost every function takes an implicit context
56
+ _ Dotty _ compiler, almost every function takes an implicit context
57
57
parameter which defines all elements relating to the current state of
58
58
the compilation. This is in my experience much better than the cake
59
59
pattern because it is lightweight and can express context changes in a
@@ -151,7 +151,7 @@ implicit parameter:
151
151
152
152
A three-times repetition might not look so bad here, but it certainly
153
153
smells of boilerplate. In real-sized projects, this can get much worse.
154
- For instance, the _ dotty _ compiler uses implicit abstraction
154
+ For instance, the _ Dotty _ compiler uses implicit abstraction
155
155
over contexts for most of its parts. Consequently it ends up with currently
156
156
no fewer than 2641 occurrences of the text string
157
157
@@ -180,7 +180,7 @@ type of `f1` is:
180
180
181
181
Just like the normal function type syntax ` A => B ` , desugars to ` scala.Function1[A, B] `
182
182
the implicit function type syntax ` implicit A => B ` desugars to ` scala.ImplicitFunction1[A, B] ` .
183
- The same holds at other function arities. With dotty 's [ pull request #1758 ] ( https://github.com/lampepfl/dotty/pull/1758 )
183
+ The same holds at other function arities. With Dotty 's [ pull request #1758 ] ( https://github.com/lampepfl/dotty/pull/1758 )
184
184
merged there is no longer an upper limit of 22 for such functions.
185
185
186
186
The type ` ImplicitFunction1 ` can be thought of being defined as follows:
0 commit comments