From b397ab65ea094859cab2d31d6444101bc7238b9a Mon Sep 17 00:00:00 2001
From: Tom Benner when appropriate
---
system/doc/getting_started/conc_prog.xml | 4 ++--
system/doc/getting_started/seq_prog.xml | 6 +++---
2 files changed, 5 insertions(+), 5 deletions(-)
(limited to 'system')
diff --git a/system/doc/getting_started/conc_prog.xml b/system/doc/getting_started/conc_prog.xml
index 9a08d38d7f..580ba79403 100644
--- a/system/doc/getting_started/conc_prog.xml
+++ b/system/doc/getting_started/conc_prog.xml
@@ -95,7 +95,7 @@ goodbye
the second a "goodbye", the first another "hello" and so forth.
But where did the <0.63.0> come from? The return value of a
function is of course the return value of the last "thing" in
- the function. The last thing in the function
spawn(tut14, say_something, [goodbye, 3]).
spawn(tut15, ping, [3, Pong_PID]),
- this process executes
+This process executes:
tut15:ping(3, Pong_PID)
<0.36.0> is the return value from the
We have shown tuples with two parts above, but tuples can have as many parts as we want and contain any valid Erlang term. For example, to represent the temperature of - various cities of the world we could write
+ various cities of the world we could write:
{moscow, {c, -10}}
{cape_town, {f, 70}}
@@ -1187,11 +1187,11 @@ trunc(5.0) = 5
74> 2004 rem 400.
4
- so instead of writing
+ so instead of writing:
trunc(Year / 400) * 400 == Year ->
leap;
- we could write
+ we could write:
Year rem 400 == 0 ->
leap;
--
cgit v1.2.3