Skip to content

Commit

Permalink
Fix occurrences of "parenthesis" where should be plural (#1482)
Browse files Browse the repository at this point in the history
Also changed iex prompt output where needed (iex 1.7.2)
  • Loading branch information
killthekitten authored and doomspork committed Aug 15, 2018
1 parent f801f5a commit 8d1a37a
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 16 deletions.
2 changes: 1 addition & 1 deletion en/lessons/basics/sigils.md
Expand Up @@ -28,7 +28,7 @@ A list of delimiters include:
- `<...>` A pair of pointy brackets
- `{...}` A pair of curly brackets
- `[...]` A pair of square brackets
- `(...)` A pair of parenthesis
- `(...)` A pair of parentheses
- `|...|` A pair of pipes
- `/.../` A pair of forward slashes
- `"..."` A pair of double quotes
Expand Down
13 changes: 8 additions & 5 deletions gr/lessons/basics/pipe-operator.md
Expand Up @@ -54,13 +54,16 @@ true

```shell
iex> "Η Elixir τα σπάει" |> String.split |> Enum.map &String.upcase/1
iex: warning: you are piping into a function call without parentheses, which may be ambiguous. Please wrap the function you are piping into in parenthesis. For example:
warning: parentheses are required when piping into a function call. For example:

foo 1 |> bar 2 |> baz 3
foo 1 |> bar 2 |> baz 3

Should be written as:
is ambiguous and should be written as

foo(1) |> bar(2) |> baz(3)
foo(1) |> bar(2) |> baz(3)

["Η", "ELIXIR", "ΤΑ", "ΣΠΑΕΙ"]
Ambiguous pipe found at:
iex:1

["Η", "ELIXIR", "ΤΑ", "ΣΠΆΕΙ"]
```
11 changes: 7 additions & 4 deletions id/lessons/basics/pipe-operator.md
Expand Up @@ -54,13 +54,16 @@ Jika arity (jumlah parameter) dari sebuah fungsi adalah lebih dari 1, pastikan u

```shell
iex> "Elixir rocks" |> String.split |> Enum.map &String.upcase/1
iex: warning: you are piping into a function call without parentheses, which may be ambiguous. Please wrap the function you are piping into in parenthesis. For example:
warning: parentheses are required when piping into a function call. For example:

foo 1 |> bar 2 |> baz 3
foo 1 |> bar 2 |> baz 3

Should be written as:
is ambiguous and should be written as

foo(1) |> bar(2) |> baz(3)
foo(1) |> bar(2) |> baz(3)

Ambiguous pipe found at:
iex:1

["ELIXIR", "ROCKS"]
```
Expand Down
11 changes: 7 additions & 4 deletions ms/lessons/basics/pipe-operator.md
Expand Up @@ -54,13 +54,16 @@ Jika 'arity' satu fungsi lebih dari 1, pastikan anda menggunakan tanda kurungan'

```shell
iex> "Elixir rocks" |> String.split |> Enum.map &String.upcase/1
iex: warning: you are piping into a function call without parentheses, which may be ambiguous. Please wrap the function you are piping into in parenthesis. For example:
warning: parentheses are required when piping into a function call. For example:

foo 1 |> bar 2 |> baz 3
foo 1 |> bar 2 |> baz 3

Should be written as:
is ambiguous and should be written as

foo(1) |> bar(2) |> baz(3)
foo(1) |> bar(2) |> baz(3)

Ambiguous pipe found at:
iex:1

["ELIXIR", "ROCKS"]
```
2 changes: 1 addition & 1 deletion tr/lessons/basics/sigils.md
Expand Up @@ -28,7 +28,7 @@ Sınırlandırıcıların listesi:
- `<...>` A pair of pointy brackets
- `{...}` A pair of curly brackets
- `[...]` A pair of square brackets
- `(...)` A pair of parenthesis
- `(...)` A pair of parentheses
- `|...|` A pair of pipes
- `/.../` A pair of forward slashes
- `"..."` A pair of double quotes
Expand Down
2 changes: 1 addition & 1 deletion zh-hant/lessons/basics/sigils.md
Expand Up @@ -28,7 +28,7 @@ Elixir 提供了用於表示和使用文字的替代語法。 一個符咒 (sigi
- `<...>` 尖括號 (pointy brackets)
- `{...}` 大括號 (curly brackets)
- `[...]` 中括號 (square brackets)
- `(...)` 小括號 (parenthesis)
- `(...)` 小括號 (parentheses)
- `|...|` 管線符號 (pipes)
- `/.../` 斜線 (forward slashes)
- `"..."` 雙引號 (double quotes)
Expand Down

0 comments on commit 8d1a37a

Please sign in to comment.