diff options
author | bk2dcradle <ankitsultana@gmail.com> | 2016-01-05 13:34:10 +0530 |
---|---|---|
committer | bk2dcradle <ankitsultana@gmail.com> | 2016-01-05 13:34:10 +0530 |
commit | 0e3ed9579b296e276741f06afe8e0a9834672b9e (patch) | |
tree | d01a82820ee8a7fb41583cdbf9119583d3fe8004 /erlang.html.markdown | |
parent | a5730e4ab931b8355704d35ee08acef75435bd83 (diff) | |
parent | 4dc5eeda5528047ece4f5798cff6961b0bc21dcb (diff) |
Reset to Adambard's
Diffstat (limited to 'erlang.html.markdown')
-rw-r--r-- | erlang.html.markdown | 2 |
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; |