@@ -149,7 +149,7 @@ implicit parameter:
149
149
150
150
(implicit thisTransaction: Transaction)
151
151
152
- A three-times repetition might not look so bad here, but it certainly
152
+ Having to repeat three-times might not look so bad here, but it certainly
153
153
smells of boilerplate. In real-sized projects, this can get much worse.
154
154
For instance, the _ dotty_ compiler uses implicit abstraction
155
155
over contexts for most of its parts. Consequently it ends up with currently
@@ -229,7 +229,7 @@ conversion establishes the necessary context to make type checking `t`
229
229
succeed by defining the required implicit parameters.
230
230
231
231
There is one final tweak to make this all work: When using implicit parameters
232
- for nested functions it was so far important to give all implicit parameters
232
+ for nested functions it was so far necessary to give all implicit parameters
233
233
of the same type the same name, or else one would get ambiguities. For instance, consider the
234
234
following fragment:
235
235
@@ -354,7 +354,7 @@ this blog post is already too long.
354
354
355
355
## Conclusion
356
356
357
- Implicit function types are unique way to abstract over the context in
357
+ Implicit function types are a unique way to abstract over the context in
358
358
which some piece of code is run. I believe they will deeply influence
359
359
the way we write Scala in the future. They are very powerful
360
360
abstractions, in the sense that just declaring a type of a function
0 commit comments