Skip to content

Commit

Permalink
Use space around cons operator (elixirschool#1082)
Browse files Browse the repository at this point in the history
In the same vein as elixirschool#1076
  • Loading branch information
eksperimental authored and doomspork committed May 15, 2017
1 parent 3afde9e commit 21d185c
Show file tree
Hide file tree
Showing 30 changed files with 38 additions and 38 deletions.
2 changes: 1 addition & 1 deletion bg/lessons/basics/pattern-matching.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ iex> [1, 2, 3] = list
iex> [] = list
** (MatchError) no match of right hand side value: [1, 2, 3]

iex> [1|tail] = list
iex> [1 | tail] = list
[1, 2, 3]
iex> tail
[2, 3]
Expand Down
4 changes: 2 additions & 2 deletions bn/lessons/basics/pattern-matching.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
version: 1.0.0
version: 1.0.1
layout: page
title: প্যাটার্ন ম্যাচিং
category: basics
Expand Down Expand Up @@ -38,7 +38,7 @@ iex> [1, 2, 3] = list
iex> [] = list
** (MatchError) no match of right hand side value: [1, 2, 3]

iex> [1|tail] = list
iex> [1 | tail] = list
[1, 2, 3]
iex> tail
[2, 3]
Expand Down
2 changes: 1 addition & 1 deletion cn/lessons/basics/pattern-matching.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ iex> [1, 2, 3] = list
iex> [] = list
** (MatchError) no match of right hand side value: [1, 2, 3]

iex> [1|tail] = list
iex> [1 | tail] = list
[1, 2, 3]
iex> tail
[2, 3]
Expand Down
2 changes: 1 addition & 1 deletion cn/lessons/specifics/ets.md
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ defmodule SimpleCache do
"""
defp lookup(mod, fun, args) do
case :ets.lookup(:simple_cache, [mod, fun, args]) do
[result|_] -> check_freshness(result)
[result | _] -> check_freshness(result)
[] -> nil
end
end
Expand Down
2 changes: 1 addition & 1 deletion de/lessons/basics/pattern-matching.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ iex> [1, 2, 3] = list
iex> [] = list
** (MatchError) no match of right hand side value: [1, 2, 3]

iex> [1|tail] = list
iex> [1 | tail] = list
[1, 2, 3]
iex> tail
[2, 3]
Expand Down
2 changes: 1 addition & 1 deletion es/lessons/basics/pattern-matching.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ iex> [1, 2, 3] = list
iex> [] = list
** (MatchError) no match of right hand side value: [1, 2, 3]

iex> [1|tail] = list
iex> [1 | tail] = list
[1, 2, 3]
iex> tail
[2, 3]
Expand Down
2 changes: 1 addition & 1 deletion es/lessons/specifics/ets.md
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ defmodule SimpleCache do
"""
defp lookup(mod, fun, args) do
case :ets.lookup(:simple_cache, [mod, fun, args]) do
[result|_] -> check_freshness(result)
[result | _] -> check_freshness(result)
[] -> nil
end
end
Expand Down
2 changes: 1 addition & 1 deletion fr/lessons/basics/pattern-matching.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ iex> [1, 2, 3] = list
iex> [] = list
** (MatchError) no match of right hand side value: [1, 2, 3]

iex> [1|tail] = list
iex> [1 | tail] = list
[1, 2, 3]
iex> tail
[2, 3]
Expand Down
4 changes: 2 additions & 2 deletions gr/lessons/basics/pattern-matching.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
version: 1.0.0
version: 1.0.1
layout: page
title: Αντιπαραβολές Προτύπων
category: basics
Expand Down Expand Up @@ -39,7 +39,7 @@ iex> [1, 2, 3] = list
iex> [] = list
** (MatchError) no match of right hand side value: [1, 2, 3]

iex> [1|tail] = list
iex> [1 | tail] = list
[1, 2, 3]
iex> tail
[2, 3]
Expand Down
4 changes: 2 additions & 2 deletions gr/lessons/specifics/ets.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
version: 1.0.0
version: 1.0.1
layout: page
title: Erlang Term Storage (ETS)
category: specifics
Expand Down Expand Up @@ -199,7 +199,7 @@ defmodule SimpleCache do
"""
defp lookup(mod, fun, args) do
case :ets.lookup(:simple_cache, [mod, fun, args]) do
[result|_] -> check_freshness(result)
[result | _] -> check_freshness(result)
[] -> nil
end
end
Expand Down
2 changes: 1 addition & 1 deletion id/lessons/basics/pattern-matching.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ iex> [1, 2, 3] = list
iex> [] = list
** (MatchError) no match of right hand side value: [1, 2, 3]

iex> [1|tail] = list
iex> [1 | tail] = list
[1, 2, 3]
iex> tail
[2, 3]
Expand Down
2 changes: 1 addition & 1 deletion id/lessons/specifics/ets.md
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ defmodule SimpleCache do
"""
defp lookup(mod, fun, args) do
case :ets.lookup(:simple_cache, [mod, fun, args]) do
[result|_] -> check_freshness(result)
[result | _] -> check_freshness(result)
[] -> nil
end
end
Expand Down
2 changes: 1 addition & 1 deletion it/lessons/basics/pattern-matching.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ iex> [1, 2, 3] = list
iex> [] = list
** (MatchError) no match of right hand side value: [1, 2, 3]

iex> [1|tail] = list
iex> [1 | tail] = list
[1, 2, 3]
iex> tail
[2, 3]
Expand Down
2 changes: 1 addition & 1 deletion jp/lessons/basics/pattern-matching.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ iex> [1, 2, 3] = list
iex> [] = list
** (MatchError) no match of right hand side value: [1, 2, 3]

iex> [1|tail] = list
iex> [1 | tail] = list
[1, 2, 3]
iex> tail
[2, 3]
Expand Down
2 changes: 1 addition & 1 deletion jp/lessons/specifics/ets.md
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ defmodule SimpleCache do
"""
defp lookup(mod, fun, args) do
case :ets.lookup(:simple_cache, [mod, fun, args]) do
[result|_] -> check_freshness(result)
[result | _] -> check_freshness(result)
[] -> nil
end
end
Expand Down
2 changes: 1 addition & 1 deletion ko/lessons/basics/pattern-matching.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ iex> [1, 2, 3] = list
iex> [] = list
** (MatchError) no match of right hand side value: [1, 2, 3]

iex> [1|tail] = list
iex> [1 | tail] = list
[1, 2, 3]
iex> tail
[2, 3]
Expand Down
2 changes: 1 addition & 1 deletion ko/lessons/specifics/ets.md
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ defmodule SimpleCache do
"""
defp lookup(mod, fun, args) do
case :ets.lookup(:simple_cache, [mod, fun, args]) do
[result|_] -> check_freshness(result)
[result | _] -> check_freshness(result)
[] -> nil
end
end
Expand Down
4 changes: 2 additions & 2 deletions lessons/basics/pattern-matching.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
version: 1.0.0
version: 1.0.1
layout: page
title: Pattern Matching
category: basics
Expand Down Expand Up @@ -39,7 +39,7 @@ iex> [1, 2, 3] = list
iex> [] = list
** (MatchError) no match of right hand side value: [1, 2, 3]

iex> [1|tail] = list
iex> [1 | tail] = list
[1, 2, 3]
iex> tail
[2, 3]
Expand Down
4 changes: 2 additions & 2 deletions lessons/specifics/ets.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
version: 1.0.0
version: 1.0.1
layout: page
title: Erlang Term Storage (ETS)
category: specifics
Expand Down Expand Up @@ -199,7 +199,7 @@ defmodule SimpleCache do
"""
defp lookup(mod, fun, args) do
case :ets.lookup(:simple_cache, [mod, fun, args]) do
[result|_] -> check_freshness(result)
[result | _] -> check_freshness(result)
[] -> nil
end
end
Expand Down
2 changes: 1 addition & 1 deletion my/lessons/basics/pattern-matching.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ iex> [1, 2, 3] = list
iex> [] = list
** (MatchError) no match of right hand side value: [1, 2, 3]

iex> [1|tail] = list
iex> [1 | tail] = list
[1, 2, 3]
iex> tail
[2, 3]
Expand Down
2 changes: 1 addition & 1 deletion no/lessons/basics/pattern-matching.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ iex> [1, 2, 3] = list
iex> [] = list
** (MatchError) no match of right hand side value: [1, 2, 3]

iex> [1|tail] = list
iex> [1 | tail] = list
[1, 2, 3]
iex> tail
[2, 3]
Expand Down
4 changes: 2 additions & 2 deletions pl/lessons/basics/pattern-matching.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
version: 1.0.0
version: 1.0.1
layout: page
title: Dopasowanie wzorców
category: basics
Expand Down Expand Up @@ -39,7 +39,7 @@ iex> [1, 2, 3] = list
iex> [] = list
** (MatchError) no match of right hand side value: [1, 2, 3]

iex> [1|tail] = list
iex> [1 | tail] = list
[1, 2, 3]
iex> tail
[2, 3]
Expand Down
2 changes: 1 addition & 1 deletion pl/lessons/specifics/ets.md
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ defmodule SimpleCache do
"""
defp lookup(mod, fun, args) do
case :ets.lookup(:simple_cache, [mod, fun, args]) do
[result|_] -> check_freshness(result)
[result | _] -> check_freshness(result)
[] -> nil
end
end
Expand Down
2 changes: 1 addition & 1 deletion pt/lessons/basics/pattern-matching.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ iex> [1, 2, 3] = list
iex> [] = list
** (MatchError) no match of right hand side value: [1, 2, 3]

iex> [1|tail] = list
iex> [1 | tail] = list
[1, 2, 3]
iex> tail
[2, 3]
Expand Down
2 changes: 1 addition & 1 deletion pt/lessons/specifics/ets.md
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ defmodule SimpleCache do
"""
defp lookup(mod, fun, args) do
case :ets.lookup(:simple_cache, [mod, fun, args]) do
[result|_] -> check_freshness(result)
[result | _] -> check_freshness(result)
[] -> nil
end
end
Expand Down
4 changes: 2 additions & 2 deletions ru/lessons/basics/pattern-matching.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
version: 1.0.0
version: 1.0.1
layout: page
title: Сопоставление с образцом
category: basics
Expand Down Expand Up @@ -39,7 +39,7 @@ iex> [1, 2, 3] = list
iex> [] = list
** (MatchError) no match of right hand side value: [1, 2, 3]

iex> [1|tail] = list
iex> [1 | tail] = list
[1, 2, 3]
iex> tail
[2, 3]
Expand Down
4 changes: 2 additions & 2 deletions ru/lessons/specifics/ets.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
version: 1.0.0
version: 1.0.1
layout: page
title: Erlang Term Storage (ETS)
category: specifics
Expand Down Expand Up @@ -198,7 +198,7 @@ defmodule SimpleCache do
"""
defp lookup(mod, fun, args) do
case :ets.lookup(:simple_cache, [mod, fun, args]) do
[result|_] -> check_freshness(result)
[result | _] -> check_freshness(result)
[] -> nil
end
end
Expand Down
2 changes: 1 addition & 1 deletion sk/lessons/basics/pattern-matching.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ iex> [1, 2, 3] = list
iex> [] = list
** (MatchError) no match of right hand side value: [1, 2, 3]

iex> [1|tail] = list
iex> [1 | tail] = list
[1, 2, 3]
iex> tail
[2, 3]
Expand Down
2 changes: 1 addition & 1 deletion vi/lessons/basics/pattern-matching.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ iex> [1, 2, 3] = list
iex> [] = list
** (MatchError) no match of right hand side value: [1, 2, 3]

iex> [1|tail] = list
iex> [1 | tail] = list
[1, 2, 3]
iex> tail
[2, 3]
Expand Down
2 changes: 1 addition & 1 deletion vi/lessons/specifics/ets.md
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ defmodule SimpleCache do
"""
defp lookup(mod, fun, args) do
case :ets.lookup(:simple_cache, [mod, fun, args]) do
[result|_] -> check_freshness(result)
[result | _] -> check_freshness(result)
[] -> nil
end
end
Expand Down

0 comments on commit 21d185c

Please sign in to comment.