Skip to content

Commit 91af050

Browse files
authored
Remove deprecated docs and links to them (#1)
* Use new links Right now, there are multiple features with links that just say "The contents of this page have moved." It'd be more convenient if the links directly went to the updated pages. * Delete implicit-function-types-spec.md * Delete implicit-function-types.md * Delete delegates.md * Delete given-clauses.md * Update features-classification.md
1 parent 8c56525 commit 91af050

File tree

6 files changed

+5
-31
lines changed

6 files changed

+5
-31
lines changed

docs/_includes/features.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -21,19 +21,19 @@ <h1 id="so-features">So, features?</h1>
2121
<td>Implemented</td>
2222
</tr>
2323
<tr>
24-
<td><a href="https://dotty.epfl.ch/docs/reference/contextual/implicit-function-types.html">Context query</a></td>
24+
<td><a href="https://dotty.epfl.ch/docs/reference/contextual/context-functions.html">Context query</a></td>
2525
<td>Implemented</td>
2626
</tr>
2727
<tr>
2828
<td><a href="https://dotty.epfl.ch/docs/reference/other-new-features/trait-parameters.html">Trait parameters</a></td>
2929
<td>Implemented</td>
3030
</tr>
3131
<tr>
32-
<td><a href="https://dotty.epfl.ch/docs/reference/contextual/delegates.html">Implied Instances</a></td>
32+
<td><a href="https://dotty.epfl.ch/docs/reference/contextual/givens.html">Implied Instances</a></td>
3333
<td>Implemented</td>
3434
</tr>
3535
<tr>
36-
<td><a href="https://dotty.epfl.ch/docs/reference/contextual/given-clauses.html">Inferable parameters</a></td>
36+
<td><a href="https://dotty.epfl.ch/docs/reference/contextual/using-clauses.html">Inferable parameters</a></td>
3737
<td>Implemented</td>
3838
</tr>
3939
<tr>

docs/docs/reference/contextual/delegates.md

-6
This file was deleted.

docs/docs/reference/contextual/given-clauses.md

-7
This file was deleted.

docs/docs/reference/contextual/implicit-function-types-spec.md

-7
This file was deleted.

docs/docs/reference/contextual/implicit-function-types.md

-6
This file was deleted.

docs/docs/reference/features-classification.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ These new constructs directly model core features of DOT, higher-kinded types, a
2020
- [Union types](new-types/union-types.md),
2121
- [Type lambdas](new-types/type-lambdas.md),
2222
replacing encodings using structural types and type projection.
23-
- [Implicit Function Types](contextual/implicit-function-types.md) offering abstraction over given parameters.
23+
- [Context Functions](contextual/context-functions.md) offering abstraction over given parameters.
2424

2525
**Status: essential**
2626

@@ -199,4 +199,4 @@ Some existing programs will break and, given the complex nature of type inferenc
199199

200200
In our experience, macros and changes in type and implicit argument inference together cause the large majority of problems encountered when porting existing code to Scala 3. The latter source of problems could be addressed systematically by a tool that added all inferred types and implicit arguments to a Scala 2 source code file. Most likely such a tool would be implemented as a Scala 2 compiler plugin. The resulting code would have a greatly increased likelihood to compile under Scala 3, but would often be bulky to the point of being unreadable. A second part of the rewriting tool should then selectively and iteratively remove type and implicit annotations that were synthesized by the first part as long as they compile under Scala 3. This second part could be implemented as a program that invokes the Scala 3 compiler `scalac` programmatically.
201201

202-
Several people have proposed such a tool for some time now. I believe it is time we find the will and the resources to actually implement it.
202+
Several people have proposed such a tool for some time now. I believe it is time we find the will and the resources to actually implement it.

0 commit comments

Comments
 (0)