Skip to content

Commit

Permalink
Modify Russian links text on docs (#1677)
Browse files Browse the repository at this point in the history
* Modify Russian links text on docs.

* Option, Either, Try, Id, Polymorphic programs
  • Loading branch information
calvellido authored Oct 8, 2019
1 parent 38a0073 commit 8f94837
Show file tree
Hide file tree
Showing 10 changed files with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ video: q6HpChSq-xc
{:.beginner}
beginner

[Перевод на русский](/docs/arrow/core/either/ru/)
[Russian / Перевод на русский](/docs/arrow/core/either/ru/)

In day-to-day programming, it is fairly common to find ourselves writing functions that can fail.
For instance, querying a service may result in a connection issue, or some unexpected JSON response.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ video: q6HpChSq-xc
{:.beginner}
beginner

[English](/docs/arrow/core/either/)
[English / английский](/docs/arrow/core/either/)

Программируя мы часто пишем функции, которые могут завершиться неудачей.
Например, сетевой запрос может прерваться из-за проблем c соединением, или из сервиса вернется JSON, который мы не готовы спарсить.
Expand Down
2 changes: 1 addition & 1 deletion modules/docs/arrow-docs/docs/docs/arrow/core/id/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ video: DBvVd1pfLMo
{:.beginner}
beginner

[Перевод на русский](/docs/arrow/core/id/ru/)
[Russian / Перевод на русский](/docs/arrow/core/id/ru/)

The identity monad can be seen as the ambient monad that encodes the effect of having no effect.
It is ambient in the sense that plain pure values are values of `Id`.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ video: DBvVd1pfLMo
{:.beginner}
beginner

[English](/docs/apidocs/arrow-core-data/arrow.core/-id/)
[English / английский](/docs/apidocs/arrow-core-data/arrow.core/-id/)

Id (монада идентичности) должна рассматриваться, как монада, в которую вкладывается эффект отсутствия эффекта. Любое значение может являться значением `Id`.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ video: 5SFTbphderE
{:.beginner}
beginner

[Перевод на русский](/docs/arrow/core/option/ru)
[Russian / Перевод на русский](/docs/arrow/core/option/ru)

If you have worked with Java at all in the past, it is very likely that you have come across a `NullPointerException` at some time (other languages will throw similarly named errors in such a case). Usually this happens because some method returns `null` when you were not expecting it and thus not dealing with that possibility in your client code. A value of `null` is often abused to represent an absent optional value.
Kotlin tries to solve the problem by getting rid of `null` values altogether and providing its own special syntax [Null-safety machinery based on `?`](https://kotlinlang.org/docs/reference/null-safety.html).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ video: 5SFTbphderE
{:.beginner}
beginner

[English](/docs/arrow/core/option)
[English / английский](/docs/arrow/core/option)

Если Вы работали с Java в прошлом, то скорее всего встречались с `NullPointerException` (прочие языки бросают ошибку с похожим названием). Обычно это происходит из-за того, что какой-то метод вернул `null`, когда это не ожидалось, и поэтому обработка этого значения так и не попала в код. Значение `null` также часто используется для обозначения отсутствия опционального значения.
Котлин пытается бороться с этой проблемой путем полного избавления от `null`-значений через специальный [null-безопасный синтаксис, основанный на `?`](https://kotlinlang.org/docs/reference/null-safety.html).
Expand Down
2 changes: 1 addition & 1 deletion modules/docs/arrow-docs/docs/docs/arrow/core/try/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ video: XavztYVMUqI
{:.beginner}
beginner

[Перевод на русский](/docs/arrow/core/try/ru)
[Russian / Перевод на русский](/docs/arrow/core/try/ru)

Arrow has [lots of different types of error handling and reporting](http://arrow-kt.io/docs/patterns/error_handling/), which allows you to choose the best strategy for your situation.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ video: XavztYVMUqI
{:.beginner}
beginner

[English](/docs/arrow/core/try)
[English / английский](/docs/arrow/core/try)

В Arrow [есть множество способов для обработки ошибок](http://arrow-kt.io/docs/patterns/error_handling/), что позволяет выбрать оптимальную стратегию для любой ситуации.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ permalink: /docs/patterns/polymorphic_programs/
{:.advanced}
advanced

[Перевод на русский](/docs/patterns/polymorphic_programs/ru/)
[Russian / Перевод на русский](/docs/patterns/polymorphic_programs/ru/)

What if we could write apps without caring about the runtime data types used but just about **how the data is operated
on**
Expand Down Expand Up @@ -714,4 +714,4 @@ Some of the mentioned concepts like purity are described in the following blogpo

Also, consider watching [FP to the max](https://youtu.be/sxudIMiOo68) by [John De Goes](https://twitter.com/jdegoes) and
the related `FpToTheMax.kt` example located in the `arrow-examples` module. This technique may seem to be a huge overhead
on such a small example, but it is meant to be used at scale.
on such a small example, but it is meant to be used at scale.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ permalink: /docs/patterns/polymorphic_programs/ru/
{:.advanced}
advanced

[English](/docs/patterns/polymorphic_programs/)
[English / английский](/docs/patterns/polymorphic_programs/)

Что если мы могли бы писать приложения не задумываясь о типах данных, которые будут использованы в рантайме, а просто описывать то, **как эти данные будут обработаны**?

Expand Down Expand Up @@ -606,4 +606,4 @@ Left(a=UserNotInRemoteStorage(user=User(userId=UserId(value=unknown user))))
* [Kotlin Functional Programming: Does it make sense?](https://medium.com/@JorgeCastilloPr/kotlin-functional-programming-does-it-make-sense-36ad07e6bacf) от [Jorge Castillo](https://www.twitter.com/JorgeCastilloPR))
* [Kotlin purity and Function Memoization](https://medium.com/@JorgeCastilloPr/kotlin-purity-and-function-memoization-b12ab35d70a5) от [Jorge Castillo](https://www.twitter.com/JorgeCastilloPR))

Также советую посмотреть видео [FP to the max](https://youtu.be/sxudIMiOo68) от [John De Goes](https://twitter.com/jdegoes) и ознакомиться с примером `FpToTheMax.kt`, расположенным в модуле `arrow-examples`. Использование данной техники может показаться чрезмерным для такого простого примера, но это потмоу, что она должна быть использована на праграммах намного большего масштаба.
Также советую посмотреть видео [FP to the max](https://youtu.be/sxudIMiOo68) от [John De Goes](https://twitter.com/jdegoes) и ознакомиться с примером `FpToTheMax.kt`, расположенным в модуле `arrow-examples`. Использование данной техники может показаться чрезмерным для такого простого примера, но это потмоу, что она должна быть использована на праграммах намного большего масштаба.

0 comments on commit 8f94837

Please sign in to comment.