diff options
author | Tom Benner <[email protected]> | 2014-12-27 14:56:21 -0500 |
---|---|---|
committer | Tom Benner <[email protected]> | 2014-12-28 14:39:13 -0500 |
commit | a0899e09dc5aede325663a3673163c9ce376bf6f (patch) | |
tree | f811cc840bc14dd958bcc21b1813bb2a928a088d /system | |
parent | b397ab65ea094859cab2d31d6444101bc7238b9a (diff) | |
download | otp-a0899e09dc5aede325663a3673163c9ce376bf6f.tar.gz otp-a0899e09dc5aede325663a3673163c9ce376bf6f.tar.bz2 otp-a0899e09dc5aede325663a3673163c9ce376bf6f.zip |
Add a comma after "For example" when appropriate
Diffstat (limited to 'system')
-rw-r--r-- | system/doc/getting_started/conc_prog.xml | 2 | ||||
-rw-r--r-- | system/doc/getting_started/records_macros.xml | 2 | ||||
-rw-r--r-- | system/doc/getting_started/robustness.xml | 2 | ||||
-rw-r--r-- | system/doc/getting_started/seq_prog.xml | 2 |
4 files changed, 4 insertions, 4 deletions
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()},</code> <c>.erlang.cookie</c> in the directory you get to after executing the command <c>cd</c> without any argument). The <c>.erlang.cookie</c> file should contain one line with - the same atom. For example on Linux or Unix in the OS shell:</p> + the same atom. For example, on Linux or Unix in the OS shell:</p> <pre> $ <input>cd</input> $ <input>cat > .erlang.cookie</input> 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*)</p> <p>Pattern matching with records is very similar to creating - records. For example inside a <c>case</c> or <c>receive</c>:</p> + records. For example, inside a <c>case</c> or <c>receive</c>:</p> <code type="none"> #message_to{to_name=ToName, message=Message} -></code> <p>is the same as:</p> 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 @@ </header> <p>There are several things which are wrong with the <seealso marker="conc_prog#ex">messenger example</seealso> 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 <c>User_List</c> 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}) -> <title>Lists</title> <p>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:</p> <code type="none"> [{moscow, {c, -10}}, {cape_town, {f, 70}}, {stockholm, {c, -4}}, |