Skip to content

Update higher-order-functions.md #1499

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

Merged
merged 2 commits into from
Aug 20, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion _ja/tour/higher-order-functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ object SalaryRaiser {

```tut
def urlBuilder(ssl: Boolean, domainName: String): (String, String) => String = {
val schema = if (ssl) "https://" else "https://"
val schema = if (ssl) "https://" else "http://"
(endpoint: String, query: String) => s"$schema$domainName/$endpoint?$query"
}

Expand Down
2 changes: 1 addition & 1 deletion _pl/tour/higher-order-functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ Oto przykład funkcji zwracającej inną funkcję.

```tut
def urlBuilder(ssl: Boolean, domainName: String): (String, String) => String = {
val schema = if (ssl) "https://" else "https://"
val schema = if (ssl) "https://" else "http://"
(endpoint: String, query: String) => s"$schema$domainName/$endpoint?$query"
}

Expand Down
2 changes: 1 addition & 1 deletion _ru/tour/higher-order-functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ object SalaryRaiser {

```tut
def urlBuilder(ssl: Boolean, domainName: String): (String, String) => String = {
val schema = if (ssl) "https://" else "https://"
val schema = if (ssl) "https://" else "http://"
(endpoint: String, query: String) => s"$schema$domainName/$endpoint?$query"
}

Expand Down
2 changes: 1 addition & 1 deletion _tour/higher-order-functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ of a method that returns a function.

```tut
def urlBuilder(ssl: Boolean, domainName: String): (String, String) => String = {
val schema = if (ssl) "https://" else "https://"
val schema = if (ssl) "https://" else "http://"
(endpoint: String, query: String) => s"$schema$domainName/$endpoint?$query"
}

Expand Down
2 changes: 1 addition & 1 deletion _zh-cn/tour/higher-order-functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ object SalaryRaiser {

```tut
def urlBuilder(ssl: Boolean, domainName: String): (String, String) => String = {
val schema = if (ssl) "https://" else "https://"
val schema = if (ssl) "https://" else "http://"
(endpoint: String, query: String) => s"$schema$domainName/$endpoint?$query"
}

Expand Down