aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/doc/src/lists.xml
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2010-09-08 12:24:07 +0200
committerBjörn Gustavsson <[email protected]>2010-09-08 12:24:07 +0200
commit2e0cd5180a3abf5b4d974bb25f7fc6a3bb909967 (patch)
treea6f4db599c45295368cbc5cf95af048cd72f2c7c /lib/stdlib/doc/src/lists.xml
parentf4843545086e6e79642e86f84aba0cff789d575b (diff)
parente51b9af5bf80b034ef427669a3fbcb39943674d7 (diff)
downloadotp-2e0cd5180a3abf5b4d974bb25f7fc6a3bb909967.tar.gz
otp-2e0cd5180a3abf5b4d974bb25f7fc6a3bb909967.tar.bz2
otp-2e0cd5180a3abf5b4d974bb25f7fc6a3bb909967.zip
Merge branch 'cg/docs-fixes' into dev
* cg/docs-fixes: Linkify applications listed under "See Also" Fix minor typos in the documentation
Diffstat (limited to 'lib/stdlib/doc/src/lists.xml')
-rw-r--r--lib/stdlib/doc/src/lists.xml6
1 files changed, 3 insertions, 3 deletions
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:</p>
<code type="none">
flatmap(Fun, List1) ->
- append(map(Fun, List1))</code>
+ append(map(Fun, List1)).</code>
<p>Example:</p>
<pre>
> <input>lists:flatmap(fun(X)->[X,X] end, [a,b,c]).</input>
@@ -523,7 +523,7 @@ flatmap(Fun, List1) ->
<v>&nbsp;A = B = term()</v>
</type>
<desc>
- <p><c>mapfold</c> combines the operations of <c>map/2</c> and
+ <p><c>mapfoldl</c> combines the operations of <c>map/2</c> and
<c>foldl/3</c> into one pass. An example, summing
the elements in a list and double them at the same time:</p>
<pre>
@@ -543,7 +543,7 @@ flatmap(Fun, List1) ->
<v>&nbsp;A = B = term()</v>
</type>
<desc>
- <p><c>mapfold</c> combines the operations of <c>map/2</c> and
+ <p><c>mapfoldr</c> combines the operations of <c>map/2</c> and
<c>foldr/3</c> into one pass.</p>
</desc>
</func>