aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/doc
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2015-05-12 14:15:40 +0200
committerHans Bolinder <[email protected]>2015-05-18 09:04:52 +0200
commitf584a60d0e5a6fa0a8002a13e8dda2a790031427 (patch)
tree6d5056ad30a2920c68f64aae6d5e046f70210f73 /lib/stdlib/doc
parentddc4e717df1da722682b6ccdbf152a6b7e15f378 (diff)
downloadotp-f584a60d0e5a6fa0a8002a13e8dda2a790031427.tar.gz
otp-f584a60d0e5a6fa0a8002a13e8dda2a790031427.tar.bz2
otp-f584a60d0e5a6fa0a8002a13e8dda2a790031427.zip
stdlib: Add gb_sets:iterator_from
Diffstat (limited to 'lib/stdlib/doc')
-rw-r--r--lib/stdlib/doc/src/gb_sets.xml13
1 files changed, 12 insertions, 1 deletions
diff --git a/lib/stdlib/doc/src/gb_sets.xml b/lib/stdlib/doc/src/gb_sets.xml
index ea96c14472..405bae5698 100644
--- a/lib/stdlib/doc/src/gb_sets.xml
+++ b/lib/stdlib/doc/src/gb_sets.xml
@@ -4,7 +4,7 @@
<erlref>
<header>
<copyright>
- <year>2001</year><year>2014</year>
+ <year>2001</year><year>2015</year>
<holder>Ericsson AB. All Rights Reserved.</holder>
</copyright>
<legalnotice>
@@ -306,6 +306,17 @@
</desc>
</func>
<func>
+ <name name="iterator_from" arity="2"/>
+ <fsummary>Return an iterator for a set starting from a specified element</fsummary>
+ <desc>
+ <p>Returns an iterator that can be used for traversing the
+ entries of <c><anno>Set</anno></c>; see <c>next/1</c>.
+ The difference as compared to the iterator returned by
+ <c>iterator/1</c> is that the first element greater than
+ or equal to <c><anno>Element</anno></c> is returned.</p>
+ </desc>
+ </func>
+ <func>
<name name="largest" arity="1"/>
<fsummary>Return largest element</fsummary>
<desc>