Skip to content

Commit

Permalink
Fix an error in the version definition of pipe-operator lesson (elixi…
Browse files Browse the repository at this point in the history
…rschool#1268)

* Fix an error in the version definition of pipe-operator lesson

* Format pipe-operator lessons
  • Loading branch information
ruslanshakirov authored and doomspork committed Nov 29, 2017
1 parent b12e606 commit f6dc96d
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 19 deletions.
6 changes: 3 additions & 3 deletions bg/lessons/basics/pipe-operator.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
version: 0.9.0
version: 0.9.1
title: Поточен оператор
---

Expand Down Expand Up @@ -30,14 +30,14 @@ other_function() |> new_function() |> baz() |> bar() |> foo()
- Разбиване на символи (неопределено)

```shell
iex> "Elixir rocks" |> String.split
iex> "Elixir rocks" |> String.split()
["Elixir", "rocks"]
```

- Изпиши всички символи с главни букви

```shell
iex> "Elixir rocks" |> String.split |> Enum.map( &String.upcase/1 )
iex> "Elixir rocks" |> String.upcase() |> String.split()
["ELIXIR", "ROCKS"]
```

Expand Down
2 changes: 1 addition & 1 deletion de/lessons/basics/pipe-operator.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Für die folgenden Beispielen wählen wir Elixirs Stringmodul.
- String trennen

```elixir
iex> "Elixir rocks" |> String.split
iex> "Elixir rocks" |> String.split()
["Elixir", "rocks"]
```

Expand Down
6 changes: 3 additions & 3 deletions en/lessons/basics/pipe-operator.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
version: 1.0.0
version: 1.0.1
title: Pipe Operator
redirect_from:
- /lessons/basics/pipe-operator/
Expand Down Expand Up @@ -32,14 +32,14 @@ For this set of examples, we will use Elixir's String module.
- Tokenize String (loosely)

```elixir
iex> "Elixir rocks" |> String.split
iex> "Elixir rocks" |> String.split()
["Elixir", "rocks"]
```

- Uppercase all the tokens

```elixir
iex> "Elixir rocks" |> String.upcase |> String.split
iex> "Elixir rocks" |> String.upcase() |> String.split()
["ELIXIR", "ROCKS"]
```

Expand Down
6 changes: 3 additions & 3 deletions es/lessons/basics/pipe-operator.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
version: 0.9.0
version: 0.9.1
title: Operador Pipe
---

Expand Down Expand Up @@ -31,14 +31,14 @@ Para este grupo de ejemplos, usaremos el módulo String de elixir.
- Separar Cadenas (Tokenize String)

```shell
iex> "Elixir language" |> String.split
iex> "Elixir language" |> String.split()
["Elixir", "language"]
```

- Mayúsculas a todos los caracteres (Uppercase all the tokens)

```shell
iex> "Elixir language" |> String.split |> Enum.map( &String.upcase/1 )
iex> "Elixir language" |> String.upcase() |> String.split()
["ELIXIR", "LANGUAGE"]
```

Expand Down
6 changes: 3 additions & 3 deletions fr/lessons/basics/pipe-operator.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
version: 0.9.0
version: 0.9.1
title: L'opérateur Pipe
---

Expand Down Expand Up @@ -30,14 +30,14 @@ Nous allons utiliser le module String d'Elixir pour les exemples suivants.
- Segmentation de String

```shell
iex> "Elixir rocks" |> String.split
iex> "Elixir rocks" |> String.split()
["Elixir", "rocks"]
```

- Transformation des tokens en majuscules

```shell
iex> "Elixir rocks" |> String.upcase |> String.split
iex> "Elixir rocks" |> String.upcase() |> String.split()
["ELIXIR", "ROCKS"]
```

Expand Down
6 changes: 3 additions & 3 deletions ta/lessons/basics/pipe-operator.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
version: 1.0.0
version: 1.0.1
title: குழாய் செயல்பாடு
---

Expand Down Expand Up @@ -30,14 +30,14 @@ other_function() |> new_function() |> baz() |> bar() |> foo()
- சரத்தினை சிறுகூறுகளாக உடைக்க

```elixir
iex> "Elixir rocks" |> String.split
iex> "Elixir rocks" |> String.split()
["Elixir", "rocks"]
```

- சரத்தின் கூறுகளனைத்தையும் பெரியஎழுத்துக்கு மாற்ற

```elixir
iex> "Elixir rocks" |> String.upcase |> String.split
iex> "Elixir rocks" |> String.upcase() |> String.split()
["ELIXIR", "ROCKS"]
```

Expand Down
6 changes: 3 additions & 3 deletions th/lessons/basics/pipe-operator.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
version: 1.0.0
version: 1.0.1
title: Pipe Operator
redirect_from:
- /lessons/basics/pipe-operator/
Expand Down Expand Up @@ -35,14 +35,14 @@ other_function() |> new_function() |> baz() |> bar() |> foo()
- Tokenize String (อย่างง่าย)

```elixir
iex> "Elixir rocks" |> String.split
iex> "Elixir rocks" |> String.split()
["Elixir", "rocks"]
```

- ทำให้เป็นอักษรใหญ่ทุกๆ token

```elixir
iex> "Elixir rocks" |> String.upcase |> String.split
iex> "Elixir rocks" |> String.upcase() |> String.split()
["ELIXIR", "ROCKS"]
```

Expand Down

0 comments on commit f6dc96d

Please sign in to comment.