From b397ab65ea094859cab2d31d6444101bc7238b9a Mon Sep 17 00:00:00 2001 From: Tom Benner Date: Sat, 27 Dec 2014 14:54:27 -0500 Subject: Use colons before 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(-) 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 start is

+ the function. The last thing in the function start is:

spawn(tut14, say_something, [goodbye, 3]).

spawn returns a process identifier, or @@ -166,7 +166,7 @@ Pong_PID = spawn(tut15, pong, []) start now creates another process "ping".

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 start function.

diff --git a/system/doc/getting_started/seq_prog.xml b/system/doc/getting_started/seq_prog.xml index dede41d3af..6f35c0cccc 100644 --- a/system/doc/getting_started/seq_prog.xml +++ b/system/doc/getting_started/seq_prog.xml @@ -309,7 +309,7 @@ convert_length({inch, Y}) ->

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