From 731b8398e57f55459d4616b12775a3738517e2e5 Mon Sep 17 00:00:00 2001 From: Cristian Greco Date: Fri, 3 Sep 2010 22:34:26 +0200 Subject: Fix minor typos in the documentation --- lib/stdlib/doc/src/erl_lint.xml | 4 ++-- lib/stdlib/doc/src/lists.xml | 6 +++--- lib/stdlib/doc/src/sys.xml | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'lib/stdlib/doc/src') diff --git a/lib/stdlib/doc/src/erl_lint.xml b/lib/stdlib/doc/src/erl_lint.xml index 6a7d37765c..8639d678fa 100644 --- a/lib/stdlib/doc/src/erl_lint.xml +++ b/lib/stdlib/doc/src/erl_lint.xml @@ -96,8 +96,8 @@

The AbsForms of a module which comes from a file that is read through epp, the Erlang pre-processor, can come from many files. This means that any references to - errors must include the file name (see epp(3), or parser erl_parse(3) The warnings and - errors returned have the following format: + errors must include the file name (see epp(3), or parser erl_parse(3)). + The warnings and errors returned have the following format:

[{FileName2,[ErrorInfo]}] diff --git a/lib/stdlib/doc/src/lists.xml b/lib/stdlib/doc/src/lists.xml index b3ad7aaf46..92c4eb4f4c 100644 --- a/lib/stdlib/doc/src/lists.xml +++ b/lib/stdlib/doc/src/lists.xml @@ -220,7 +220,7 @@ follows:

flatmap(Fun, List1) -> - append(map(Fun, List1)) + append(map(Fun, List1)).

Example:

 > lists:flatmap(fun(X)->[X,X] end, [a,b,c]).
@@ -523,7 +523,7 @@ flatmap(Fun, List1) ->
          A = B = term()
       
       
-        

mapfold combines the operations of map/2 and +

mapfoldl combines the operations of map/2 and foldl/3 into one pass. An example, summing the elements in a list and double them at the same time:

@@ -543,7 +543,7 @@ flatmap(Fun, List1) ->
          A = B = term()
       
       
-        

mapfold combines the operations of map/2 and +

mapfoldr combines the operations of map/2 and foldr/3 into one pass.

diff --git a/lib/stdlib/doc/src/sys.xml b/lib/stdlib/doc/src/sys.xml index 10ead62073..8cbfb9387b 100644 --- a/lib/stdlib/doc/src/sys.xml +++ b/lib/stdlib/doc/src/sys.xml @@ -34,7 +34,7 @@ sys A Functional Interface to System Messages -

This module contains functions for sending system messages used by programs, and messaged used for debugging purposes. +

This module contains functions for sending system messages used by programs, and messages used for debugging purposes.

Functions used for implementation of processes should also understand system messages such as debugging -- cgit v1.2.3 From e51b9af5bf80b034ef427669a3fbcb39943674d7 Mon Sep 17 00:00:00 2001 From: Cristian Greco Date: Mon, 6 Sep 2010 11:31:21 +0200 Subject: Linkify applications listed under "See Also" --- lib/stdlib/doc/src/erl_id_trans.xml | 5 +++-- lib/stdlib/doc/src/erl_parse.xml | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) (limited to 'lib/stdlib/doc/src') diff --git a/lib/stdlib/doc/src/erl_id_trans.xml b/lib/stdlib/doc/src/erl_id_trans.xml index 7c821d2efc..cfb18ec131 100644 --- a/lib/stdlib/doc/src/erl_id_trans.xml +++ b/lib/stdlib/doc/src/erl_id_trans.xml @@ -5,7 +5,7 @@

1996 - 2007 + 2010 Ericsson AB, All Rights Reserved @@ -70,7 +70,8 @@
See Also -

erl_parse(3), compile(3).

+

erl_parse(3), + compile(3).

diff --git a/lib/stdlib/doc/src/erl_parse.xml b/lib/stdlib/doc/src/erl_parse.xml index ae8a8afd5c..18b592deea 100644 --- a/lib/stdlib/doc/src/erl_parse.xml +++ b/lib/stdlib/doc/src/erl_parse.xml @@ -39,7 +39,7 @@ expressions, or terms. The Abstract Format is described in the ERTS User's Guide. Note that a token list must end with the dot token in order - to be acceptable to the parse functions (see erl_scan).

+ to be acceptable to the parse functions (see erl_scan(3)).

-- cgit v1.2.3