aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/doc/src/orddict.xml
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2015-04-10 11:59:44 +0200
committerHans Bolinder <[email protected]>2015-04-14 08:26:10 +0200
commitddb8dd58b6e08cdc375621c33d3712eee506100d (patch)
tree8e5979c4538486b05771a19b4d7a4e9f08b8ccc6 /lib/stdlib/doc/src/orddict.xml
parent85db2e1824dddec9e070af34e5f365cced54aff1 (diff)
downloadotp-ddb8dd58b6e08cdc375621c33d3712eee506100d.tar.gz
otp-ddb8dd58b6e08cdc375621c33d3712eee506100d.tar.bz2
otp-ddb8dd58b6e08cdc375621c33d3712eee506100d.zip
stdlib: Correct orddict(3)
fold() and map() handle elements in a well-defined order. Thanks to Rabbe Fogelholm for pointing out the bug.
Diffstat (limited to 'lib/stdlib/doc/src/orddict.xml')
-rw-r--r--lib/stdlib/doc/src/orddict.xml8
1 files changed, 3 insertions, 5 deletions
diff --git a/lib/stdlib/doc/src/orddict.xml b/lib/stdlib/doc/src/orddict.xml
index 6d1702bc59..ec1e43f29c 100644
--- a/lib/stdlib/doc/src/orddict.xml
+++ b/lib/stdlib/doc/src/orddict.xml
@@ -4,7 +4,7 @@
<erlref>
<header>
<copyright>
- <year>2000</year><year>2013</year>
+ <year>2000</year><year>2015</year>
<holder>Ericsson AB. All Rights Reserved.</holder>
</copyright>
<legalnotice>
@@ -125,8 +125,7 @@
<c><anno>Orddict</anno></c> together with an extra argument <c>Acc</c>
(short for accumulator). <c><anno>Fun</anno></c> must return a new
accumulator which is passed to the next call. <c><anno>Acc0</anno></c> is
- returned if the list is empty. The evaluation order is
- undefined.</p>
+ returned if the list is empty.</p>
</desc>
</func>
<func>
@@ -150,8 +149,7 @@
<fsummary>Map a function over a dictionary</fsummary>
<desc>
<p><c>map</c> calls <c><anno>Fun</anno></c> on successive keys and values
- of <c><anno>Orddict1</anno></c> to return a new value for each key.
- The evaluation order is undefined.</p>
+ of <c><anno>Orddict1</anno></c> to return a new value for each key.</p>
</desc>
</func>
<func>