Skip to content

Commit

Permalink
fix Control Structure link in functions section (elixirschool#425)
Browse files Browse the repository at this point in the history
  • Loading branch information
edshadi authored and stompy-bot committed May 30, 2016
1 parent c36ad6b commit 752ab3d
Show file tree
Hide file tree
Showing 11 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion cn/lessons/basics/functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ iex> Greeter.phrase

### 卫兵

我们在[控制语句](../control-structures.md)那一个提过卫兵,现在我们就来看看怎么在命名函数中使用它们。当 Elixir 匹配某个函数之后,后面的卫兵都会被检测。
我们在[控制语句](../control-structures)那一个提过卫兵,现在我们就来看看怎么在命名函数中使用它们。当 Elixir 匹配某个函数之后,后面的卫兵都会被检测。

在下面的例子中,我们定义了两个有相同签名的函数,而依赖判断参数类型的卫兵来确定调用哪个函数:

Expand Down
2 changes: 1 addition & 1 deletion es/lessons/basics/functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ iex> Greeter.phrase

### Guardas

Hemos cubierto brevemente las guardas en la lección [Estructuras de control](../control-structures.md), ahora veremos cómo aplicarlas a las funciones con nombre. Una vez Elixir ha coincidido una función algunas guardas serán evaluadas.
Hemos cubierto brevemente las guardas en la lección [Estructuras de control](../control-structures), ahora veremos cómo aplicarlas a las funciones con nombre. Una vez Elixir ha coincidido una función algunas guardas serán evaluadas.

En el siguiente ejemplo tenemos dos funciones con la misma firma, confiamos en las guardas para determinar cuál usar basándonos en el tipo de los argumentos:

Expand Down
2 changes: 1 addition & 1 deletion it/lessons/basics/functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ iex> Greeter.phrase

### Guardie

Abbiamo trattato brevemente le guadie (_guards_) nella lezione sulle [Strutture di Controllo](../control-structures.md), ora vedremo come possiamo applicarle alle funzioni con un nome. Una volta che Elixir ha individuato una funzione, tutte le guardie verranno controllate.
Abbiamo trattato brevemente le guadie (_guards_) nella lezione sulle [Strutture di Controllo](../control-structures), ora vedremo come possiamo applicarle alle funzioni con un nome. Una volta che Elixir ha individuato una funzione, tutte le guardie verranno controllate.

Nell'esempio che segue abbiamo due funzioni con la stessa _signature_ (cioè accettano gli stessi argomenti), ma ci affidiamo alle guardie per determinare quale usare basandoci sul tipo di argomenti:

Expand Down
2 changes: 1 addition & 1 deletion jp/lessons/basics/functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ iex> Greeter.phrase

### ガード

[制御構造](../control-structures.md)レッスンでもガードについて少しだけ触れましたが、これを名前付き関数に適用する方法を見ていきます。Elixirはある関数にマッチするとそのガードを全てテストします。
[制御構造](../control-structures)レッスンでもガードについて少しだけ触れましたが、これを名前付き関数に適用する方法を見ていきます。Elixirはある関数にマッチするとそのガードを全てテストします。

以下の例では同じ名前を持つ2つの関数があります。ガードを頼りにして、引数の型に基づいてどちらを使うべきか決定します:

Expand Down
2 changes: 1 addition & 1 deletion lessons/basics/functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ iex> Greeter.phrase

### Guards

We briefly covered guards in the [Control Structures](../control-structures.md) lesson, now we'll see how we can apply them to named functions. Once Elixir has matched a function any existing guards will be tested.
We briefly covered guards in the [Control Structures](../control-structures) lesson, now we'll see how we can apply them to named functions. Once Elixir has matched a function any existing guards will be tested.

In the follow example we have two functions with the same signature, we rely on guards to determine which to use based on the argument's type:

Expand Down
2 changes: 1 addition & 1 deletion my/lessons/basics/functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ iex> Greeter.phrase

### Klausa Kawalan

Kita telah melihat sepintas lalu mengenai klausa kawalan(guard) di dalam bahagian [Control Structures](../control-structures.md), sekarang kita akan melihat bagaimana kita boleh aplikasikan mereka kepada fungsi-fungsi bernama. Sebaik sahaja Elixir berjaya memadankan corak satu fungsi, apa-apa klausa kawalan pada fungsi tersebut akan diuji.
Kita telah melihat sepintas lalu mengenai klausa kawalan(guard) di dalam bahagian [Control Structures](../control-structures), sekarang kita akan melihat bagaimana kita boleh aplikasikan mereka kepada fungsi-fungsi bernama. Sebaik sahaja Elixir berjaya memadankan corak satu fungsi, apa-apa klausa kawalan pada fungsi tersebut akan diuji.

Di dalam contoh di bawah kita ada dua fungsi yang mempunyai pengenalan yang sama, kita bergantung kepada klausa kawalan untuk menentukan yang mana satu akan digunakan berdasarkan kepada jenis argumen:

Expand Down
2 changes: 1 addition & 1 deletion pl/lessons/basics/functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ iex> Greeter.phrase

### Strażnicy

Pokrótce omówiliśmy strażników w lekcji o [strukturach kontrolnych](../control-structures.md), a teraz przyjrzymy się bliżej, jak można wykorzystać ich w funkcjach. Elixir odszukując funkcję do wywołania, sprawdza warunki dla wszystkich strażników.
Pokrótce omówiliśmy strażników w lekcji o [strukturach kontrolnych](../control-structures), a teraz przyjrzymy się bliżej, jak można wykorzystać ich w funkcjach. Elixir odszukując funkcję do wywołania, sprawdza warunki dla wszystkich strażników.

W poniższym przykładzie mamy dwie funkcje o takiej samej sygnaturze, ale wywołanie właściwej jest możliwe dzięki strażnikom testującym typ argumentu:

Expand Down
2 changes: 1 addition & 1 deletion pt/lessons/basics/functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ iex> Greeter.phrase

### Guards

Nós cobrimos brevemente guards nas lições de [Estruturas Condicionais](../control-structures.md), agora nós iremos ver como podemos aplicá-los em funções nomeadas. Uma vez que Elixir tem correspondência em uma função, qualquer guard existente irá ser testado.
Nós cobrimos brevemente guards nas lições de [Estruturas Condicionais](../control-structures), agora nós iremos ver como podemos aplicá-los em funções nomeadas. Uma vez que Elixir tem correspondência em uma função, qualquer guard existente irá ser testado.

No exempo a seguir nós temos duas funções com a mesma assinatura, contamos com guards para determinar qual usar com base no tipo do argumento:

Expand Down
2 changes: 1 addition & 1 deletion ru/lessons/basics/functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ iex> Greeter.phrase

### Ограничители

Мы уже затрагивали ограничители в главе [Управляющие конструкции](../control-structures.md), теперь же рассмотрим их применение в именованных функциях. Ограничители проверяются только после того как Elixir сопоставил функцию.
Мы уже затрагивали ограничители в главе [Управляющие конструкции](../control-structures), теперь же рассмотрим их применение в именованных функциях. Ограничители проверяются только после того как Elixir сопоставил функцию.

В следующем примере у нас есть две функции с одинаковыми сигнатурами. Мы используем ограничители для определения какую из них использовать на основе типа аргумента:

Expand Down
2 changes: 1 addition & 1 deletion sk/lessons/basics/functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ Volanie funkcie `Greeter.phrase` vyhodilo chybu, pretože bola definovaná ako p

### Hraničné podmienky

Hraničných podmienok (*guards*) sme sa krátko dotkli v kapitole o [riadiacich štruktúrach](../control-structures.md). Teraz sa pozrieme na ich využitie pri definovaní pomenovaných funkcií.
Hraničných podmienok (*guards*) sme sa krátko dotkli v kapitole o [riadiacich štruktúrach](../control-structures). Teraz sa pozrieme na ich využitie pri definovaní pomenovaných funkcií.

Hraničné podmienky sú vyhodnocované hneď po tom, čo Elixir pattern matchingom vyberie jedno z definovaných tiel funkcie.

Expand Down
2 changes: 1 addition & 1 deletion vi/lessons/basics/functions.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ iex> Greeter.phrase

### Guards

We briefly covered guards in the [Control Structures](../control-structures.md) lesson, now we'll see how we can apply them to named functions. Once Elixir has matched a function any existing guards will be tested.
We briefly covered guards in the [Control Structures](../control-structures) lesson, now we'll see how we can apply them to named functions. Once Elixir has matched a function any existing guards will be tested.

In the follow example we have two functions with the same signature, we rely on guards to determine which to use based on the argument's type:

Expand Down

0 comments on commit 752ab3d

Please sign in to comment.