mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-23 17:41:41 +00:00
Fix typo in words calculate and area, one more
This commit is contained in:
parent
faa297157a
commit
e2885a8ff8
@ -274,7 +274,7 @@ calculateArea() ->
|
|||||||
|
|
||||||
% Compile the module and create a process that evaluates `calculateArea` in the shell
|
% Compile the module and create a process that evaluates `calculateArea` in the shell
|
||||||
c(calculateGeometry).
|
c(calculateGeometry).
|
||||||
CalculateArea = spawn(calculateGeometry, calculateAera, []).
|
CalculateArea = spawn(calculateGeometry, calculateArea, []).
|
||||||
CalculateArea ! {circle, 2}. % 12.56000000000000049738
|
CalculateArea ! {circle, 2}. % 12.56000000000000049738
|
||||||
|
|
||||||
% The shell is also a process, you can use `self` to get the current pid
|
% The shell is also a process, you can use `self` to get the current pid
|
||||||
|
Loading…
Reference in New Issue
Block a user