summaryrefslogtreecommitdiffhomepage
path: root/erlang.html.markdown
diff options
context:
space:
mode:
authorHunter Stevens <onebree@gmail.com>2016-02-15 17:47:35 -0500
committerHunter Stevens <onebree@gmail.com>2016-02-15 17:47:35 -0500
commitd0b067b140d3d351ae9dee0b3e542935b7ca35d4 (patch)
treeb83501b5b82240663029d7382f873fb369ea81c7 /erlang.html.markdown
parentcffb7e6770b517a620115b3a9e1f82ca1dd82a98 (diff)
parentcd16626c8f64a29d8235bd0ab21c7a32e248928f (diff)
Resolve conflicts from merge
Diffstat (limited to 'erlang.html.markdown')
-rw-r--r--erlang.html.markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/erlang.html.markdown b/erlang.html.markdown
index d6ed7b86..a57f295f 100644
--- a/erlang.html.markdown
+++ b/erlang.html.markdown
@@ -177,7 +177,7 @@ is_dog(A) -> false.
% A guard sequence is either a single guard or a series of guards, separated
% by semicolons (`;`). The guard sequence `G1; G2; ...; Gn` is true if at
% least one of the guards `G1`, `G2`, ..., `Gn` evaluates to `true`.
-is_pet(A) when is_atom(A), (A =:= dog) or (A =:= cat) -> true;
+is_pet(A) when is_atom(A), (A =:= dog);(A =:= cat) -> true;
is_pet(A) -> false.
% Warning: not all valid Erlang expressions can be used as guard expressions;