From a0899e09dc5aede325663a3673163c9ce376bf6f Mon Sep 17 00:00:00 2001 From: Tom Benner Date: Sat, 27 Dec 2014 14:56:21 -0500 Subject: Add a comma after "For example" when appropriate --- system/doc/getting_started/conc_prog.xml | 2 +- system/doc/getting_started/records_macros.xml | 2 +- system/doc/getting_started/robustness.xml | 2 +- system/doc/getting_started/seq_prog.xml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) (limited to 'system/doc') diff --git a/system/doc/getting_started/conc_prog.xml b/system/doc/getting_started/conc_prog.xml index 580ba79403..0b7111f183 100644 --- a/system/doc/getting_started/conc_prog.xml +++ b/system/doc/getting_started/conc_prog.xml @@ -364,7 +364,7 @@ pong ! {ping, self()}, .erlang.cookie in the directory you get to after executing the command cd without any argument). The .erlang.cookie file should contain one line with - the same atom. For example on Linux or Unix in the OS shell:

+ the same atom. For example, on Linux or Unix in the OS shell:

 $ cd
 $ cat > .erlang.cookie
diff --git a/system/doc/getting_started/records_macros.xml b/system/doc/getting_started/records_macros.xml
index 76e3d185fb..2922962134 100644
--- a/system/doc/getting_started/records_macros.xml
+++ b/system/doc/getting_started/records_macros.xml
@@ -284,7 +284,7 @@ server_transfer(From, Name, To, Message, User_List) ->
       the record is referred to. If you leave out a field when creating
       a record, it will get the value of the atom undefined. (*manual*)

Pattern matching with records is very similar to creating - records. For example inside a case or receive:

+ records. For example, inside a case or receive:

#message_to{to_name=ToName, message=Message} ->

is the same as:

diff --git a/system/doc/getting_started/robustness.xml b/system/doc/getting_started/robustness.xml index 359ea93275..b97940d388 100644 --- a/system/doc/getting_started/robustness.xml +++ b/system/doc/getting_started/robustness.xml @@ -30,7 +30,7 @@

There are several things which are wrong with the messenger example from - the previous chapter. For example if a node where a user is logged + the previous chapter. For example, if a node where a user is logged on goes down without doing a log off, the user will remain in the server's User_List but the client will disappear thus making it impossible for the user to log on again as the server diff --git a/system/doc/getting_started/seq_prog.xml b/system/doc/getting_started/seq_prog.xml index 6f35c0cccc..0bd9f83c73 100644 --- a/system/doc/getting_started/seq_prog.xml +++ b/system/doc/getting_started/seq_prog.xml @@ -325,7 +325,7 @@ convert_length({inch, Y}) -> Lists

Whereas tuples group things together, we also want to be able to represent lists of things. Lists in Erlang are surrounded by "[" - and "]". For example a list of the temperatures of various cities + and "]". For example, a list of the temperatures of various cities in the world could be:

[{moscow, {c, -10}}, {cape_town, {f, 70}}, {stockholm, {c, -4}}, -- cgit v1.2.3