aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/doc/src/ordsets.xml
diff options
context:
space:
mode:
authorMichal Muskala <[email protected]>2016-11-16 11:54:26 +0100
committerMichal Muskala <[email protected]>2016-11-18 15:20:33 +0100
commitb93b7444230ebc358f8b0d64798e65f50a249e5a (patch)
tree414a244a280f1299e8d485973e25fed9f48bd845 /lib/stdlib/doc/src/ordsets.xml
parentcd48b81b95860b3d91aefb871cbfcf4521c83315 (diff)
downloadotp-b93b7444230ebc358f8b0d64798e65f50a249e5a.tar.gz
otp-b93b7444230ebc358f8b0d64798e65f50a249e5a.tar.bz2
otp-b93b7444230ebc358f8b0d64798e65f50a249e5a.zip
Document the ordering used in ordsets and orddicts
Right now the exact order of elements is not specified, yet many programs rely on the ordering being the obvious one - erlang term order. It is only beneficial to make this an explicit part of the documentation.
Diffstat (limited to 'lib/stdlib/doc/src/ordsets.xml')
-rw-r--r--lib/stdlib/doc/src/ordsets.xml3
1 files changed, 2 insertions, 1 deletions
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