diff options
| author | Sean Corrales <scorrales@usft.com> | 2015-10-14 14:52:37 -0500 | 
|---|---|---|
| committer | Sean Corrales <scorrales@usft.com> | 2015-10-14 14:52:37 -0500 | 
| commit | fcc5086cfcac4e1efc365c16617aaf7ff9d86f80 (patch) | |
| tree | da683653842a5ae37177d191a51833f58e0b9a41 /erlang.html.markdown | |
| parent | c357be714fe39c8c97e4d1ac12b3cdfb673d1e1e (diff) | |
| parent | 8ec133b29595b8dac963eafa63ab0c479e37a3c1 (diff) | |
Merge remote-tracking branch 'upstream/master'
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 48cee6ec..d6ed7b86 100644 --- a/erlang.html.markdown +++ b/erlang.html.markdown @@ -35,7 +35,7 @@ Num = 43. % ** exception error: no match of right hand side value 43  % In most languages, `=` denotes an assignment statement. In Erlang, however,  % `=` denotes a pattern-matching operation. When an empty variable is used on the  % left hand side of the `=` operator to is bound (assigned), but when a bound -% varaible is used on the left hand side the following behaviour is observed. +% variable is used on the left hand side the following behaviour is observed.  % `Lhs = Rhs` really means this: evaluate the right side (`Rhs`), and then  % match the result against the pattern on the left side (`Lhs`).  Num = 7 * 6. @@ -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). | 
