diff options
author | Aayush Ranaut <aayush.ranaut@gmail.com> | 2015-12-05 11:10:16 +0530 |
---|---|---|
committer | Aayush Ranaut <aayush.ranaut@gmail.com> | 2015-12-05 11:10:16 +0530 |
commit | dc675a47edaeced79e13bf99d120c195a38b9ecf (patch) | |
tree | e626142c07fa41695b959b606d4337929c9669ed /erlang.html.markdown | |
parent | 0049a475edba88f6537b2490ca9506df23b46368 (diff) | |
parent | c8475eacd742a1c8c6340121aa95f32f65421113 (diff) |
Merged and removed confusing comments in python
Diffstat (limited to 'erlang.html.markdown')
-rw-r--r-- | erlang.html.markdown | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/erlang.html.markdown b/erlang.html.markdown index 4e2f1d84..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; @@ -292,7 +292,7 @@ calculateArea() -> _ -> io:format("We can only calculate area of rectangles or circles.") end. - + % Compile the module and create a process that evaluates `calculateArea` in the % shell. c(calculateGeometry). |