@@ -5,16 +5,10 @@ author: Martin Odersky
5
5
authorImg : /images/martin.jpg
6
6
---
7
7
8
- I just made the first pull request to add _ implicit function types_ to
9
- Scala. I am pretty excited about it, because, citing the explanation
10
- of the pull request "_ This is the first step to bring contextual
11
- abstraction to Scala_ ". That's quite a mouthful, so I better explain what I
12
- mean by it.
13
-
14
- Let me try to explain the words in this sentence from right to left.
15
-
16
- ** Scala** : I assume everyone who reads this understands that we mean the
17
- programming language, not the opera house.
8
+ I just made the [ first pull request] ( https://github.com/lampepfl/dotty/pull/1775 ) to add _ implicit function types_ to
9
+ Scala. I am pretty excited about it, because - citing the explanation
10
+ of the pull request - "_ This is the first step to bring contextual
11
+ abstraction to Scala_ ". What do I mean by this?
18
12
19
13
** Abstraction** : The ability to name a concept and use just the name afterwards.
20
14
@@ -367,4 +361,4 @@ abstractions, in the sense that just declaring a type of a function
367
361
will inject certain implicit values into the scope of the function's
368
362
implementation. Can this be abused, making code more obscure?
369
363
Absolutely, like every other powerful abstraction technique. To keep
370
- your code sane, please keep the ( Principle of Least Power) [ http://www.lihaoyi.com/post/StrategicScalaStylePrincipleofLeastPower.html ] in mind.
364
+ your code sane, please keep the [ Principle of Least Power] ( http://www.lihaoyi.com/post/StrategicScalaStylePrincipleofLeastPower.html ) in mind.
0 commit comments