aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2016-11-18 15:47:55 +0100
committerBjörn Gustavsson <[email protected]>2016-11-18 15:47:55 +0100
commit9491f6727f12e37241863bd5becbd1f336ff7659 (patch)
treee8ab5081d52162d2337df12685d76760acc4d1d0
parent81a1e29ba726d0ef24f5ac15808d69c5cbd1a875 (diff)
parentb93b7444230ebc358f8b0d64798e65f50a249e5a (diff)
downloadotp-9491f6727f12e37241863bd5becbd1f336ff7659.tar.gz
otp-9491f6727f12e37241863bd5becbd1f336ff7659.tar.bz2
otp-9491f6727f12e37241863bd5becbd1f336ff7659.zip
Merge branch 'mm/stdlib/ord-docs/PR-1242'
* mm/stdlib/ord-docs/PR-1242: Document the ordering used in ordsets and orddicts
-rw-r--r--lib/stdlib/doc/src/orddict.xml2
-rw-r--r--lib/stdlib/doc/src/ordsets.xml3
2 files changed, 3 insertions, 2 deletions
diff --git a/lib/stdlib/doc/src/orddict.xml b/lib/stdlib/doc/src/orddict.xml
index 076b06fc38..39b43809b6 100644
--- a/lib/stdlib/doc/src/orddict.xml
+++ b/lib/stdlib/doc/src/orddict.xml
@@ -38,7 +38,7 @@
<p>This module provides a <c>Key</c>-<c>Value</c> dictionary.
An <c>orddict</c> is a representation of a dictionary, where a
list of pairs is used to store the keys and values. The list is
- ordered after the keys.</p>
+ ordered after the keys in the <em>Erlang term order</em>.</p>
<p>This module provides the same interface as the
<seealso marker="dict"><c>dict(3)</c></seealso> module
diff --git a/lib/stdlib/doc/src/ordsets.xml b/lib/stdlib/doc/src/ordsets.xml
index 148281fcf7..7b590932e4 100644
--- a/lib/stdlib/doc/src/ordsets.xml
+++ b/lib/stdlib/doc/src/ordsets.xml
@@ -39,7 +39,8 @@
<p>Sets are collections of elements with no duplicate elements.
An <c>ordset</c> is a representation of a set, where an ordered
list is used to store the elements of the set. An ordered list
- is more efficient than an unordered list.</p>
+ is more efficient than an unordered list. Elements are ordered
+ according to the <em>Erlang term order</em>.</p>
<p>This module provides the same interface as the
<seealso marker="sets"><c>sets(3)</c></seealso> module