-
Notifications
You must be signed in to change notification settings - Fork 326
Blog post on implicit functions #570
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
||
## Conclusion | ||
|
||
Implicit function types are unique way to abstract over the context in |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"are [a] unique way"
succeed by defining the required implicit parameters. | ||
|
||
There is one final tweak to make this all work: When using implicit parameters | ||
for nested functions it was so far important to give all implicit parameters |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"so [very] important"
|
||
(implicit thisTransaction: Transaction) | ||
|
||
A three-times repetition might not look so bad here, but it certainly |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"[Having to repeat] three-times might"
--- | ||
|
||
I just made the [first pull request](https://github.com/lampepfl/dotty/pull/1775) to add _implicit function types_ to | ||
Scala. I am pretty excited about it, because - citing the explanation |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Scala -> Dotty?
I think the pull request pointing to the dotty repo should be clear enough.
…On Wed, Dec 7, 2016 at 3:49 PM, Sébastien Doeraene ***@***.*** > wrote:
***@***.**** commented on this pull request.
------------------------------
In blog/_posts/2016-12-05-implicit-function-types.md
<#570 (review)>:
> @@ -0,0 +1,364 @@
+---
+layout: blog
+title: Implicit Function Types
+author: Martin Odersky
+authorImg: /images/martin.jpg
+---
+
+I just made the [first pull request](scala/scala3#1775) to add _implicit function types_ to
+Scala. I am pretty excited about it, because - citing the explanation
Scala -> Dotty?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#570 (review)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAwlVhXylle-ttpts81mmydtA1eI3YMCks5rFsdngaJpZM4LGnEW>
.
--
Martin Odersky
EPFL and Lightbend
|
It's merged but not showing up. What's wrong? |
fixed in b287dc0 |
I'd like to release this today, so that people can read it before the ScalaX talk. So it would be good to merge this quickly.