Skip to content

Commit a6f2332

Browse files
committed
Revert change to old blog post
1 parent ca7e169 commit a6f2332

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/blog/_posts/2017-12-01-fifth-dotty-milestone-release.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,8 @@ which means that the alternative `c` would be chosen as solution!
5252
Scala 2's somewhat puzzling behavior with respect to ambiguity has been exploited to implement
5353
the analogue of a "negated" search in implicit resolution, where a query `Q1` fails if some other
5454
query `Q2` succeeds and `Q1` succeeds if `Q2` fails. With the new cleaned up behavior these
55-
techniques no longer work. But there is now a new special type `scala.util.NotGiven` which
56-
implements negation directly. For any query type `Q`: `NotGiven[Q]` succeeds if and only if the
55+
techniques no longer work. But there is now a new special type `scala.util.Not` which
56+
implements negation directly. For any query type `Q`: `Not[Q]` succeeds if and only if the
5757
implicit search for `Q` fails.
5858

5959
### Dependent function types [#3464](https://github.com/lampepfl/dotty/pull/3464)

0 commit comments

Comments
 (0)