Skip to content

Commit bd542a9

Browse files
committed
Add redirect_from lines from older version of tour
1 parent 3b37b36 commit bd542a9

File tree

4 files changed

+6
-0
lines changed

4 files changed

+6
-0
lines changed

_tour/automatic-closures.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ title: Automatic Type-Dependent Closure Construction
55
discourse: true
66

77
partof: scala-tour
8+
9+
redirect_from: "/tutorials/tour/automatic-closures.html"
810
---
911

1012
Scala allows parameterless function names as parameters of methods. When such a method is called, the actual parameters for parameterless function names are not evaluated and a nullary function is passed instead which encapsulates the computation of the corresponding parameter (so-called *call-by-name* evaluation).

_tour/for-comprehensions.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ next-page: generic-classes
1111
previous-page: extractor-objects
1212

1313
redirect_from: "/tutorials/tour/for-comprehensions.html"
14+
redirect_from: "/tutorials/tour/sequence-comprehensions.html"
1415
---
1516

1617
Scala offers a lightweight notation for expressing *sequence comprehensions*. Comprehensions have the form `for (enumerators) yield e`, where `enumerators` refers to a semicolon-separated list of enumerators. An *enumerator* is either a generator which introduces new variables, or it is a filter. A comprehension evaluates the body `e` for each binding generated by the enumerators and returns a sequence of these values.

_tour/named-arguments.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ previous-page: default-parameter-values
1212
prerequisite-knowledge: function-syntax
1313

1414
redirect_from: "/tutorials/tour/named-arguments.html"
15+
redirect_from: "/tutorials/tour/named-parameters.html"
1516
---
1617

1718
When calling methods, you can label the arguments with their parameter names like so:

_tour/tour-of-scala.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ num: 1
1111
next-page: basics
1212

1313
redirect_from: "/tutorials/tour/tour-of-scala.html"
14+
redirect_from: "/tutorials/tour/anonymous-function-syntax.html"
15+
redirect_from: "/tutorials/tour/explicitly-typed-self-references.html"
1416
---
1517

1618
## Welcome to the tour

0 commit comments

Comments
 (0)