aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHenrik Nord <[email protected]>2012-02-16 14:09:35 +0100
committerHenrik Nord <[email protected]>2012-02-16 14:09:38 +0100
commita7d95881e8701f1c071d9a957172027a287e6f73 (patch)
tree653bfeb367393571c073c58a9bc79c343584ebce
parentc826b7309e57e33b1209d5b6c0f15a0e26122729 (diff)
parentfe6ea2f02b80596f99e83517ea1f7078ff58c127 (diff)
downloadotp-a7d95881e8701f1c071d9a957172027a287e6f73.tar.gz
otp-a7d95881e8701f1c071d9a957172027a287e6f73.tar.bz2
otp-a7d95881e8701f1c071d9a957172027a287e6f73.zip
Merge branch 'ahs/fix-gb_trees-doc' into maint
* ahs/fix-gb_trees-doc: Put gb_trees documentation into alphabetical order OTP-9929
-rw-r--r--lib/stdlib/doc/src/gb_trees.xml18
1 files changed, 9 insertions, 9 deletions
diff --git a/lib/stdlib/doc/src/gb_trees.xml b/lib/stdlib/doc/src/gb_trees.xml
index 65c866efbe..9316d60b1a 100644
--- a/lib/stdlib/doc/src/gb_trees.xml
+++ b/lib/stdlib/doc/src/gb_trees.xml
@@ -132,15 +132,6 @@
</desc>
</func>
<func>
- <name name="lookup" arity="2"/>
- <fsummary>Look up a key in a tree</fsummary>
- <desc>
- <p>Looks up <c><anno>Key</anno></c> in <c><anno>Tree</anno></c>; returns
- <c>{value, <anno>Val</anno>}</c>, or <c>none</c> if <c><anno>Key</anno></c> is not
- present.</p>
- </desc>
- </func>
- <func>
<name name="insert" arity="3"/>
<fsummary>Insert a new key and value in a tree</fsummary>
<desc>
@@ -196,6 +187,15 @@
</desc>
</func>
<func>
+ <name name="lookup" arity="2"/>
+ <fsummary>Look up a key in a tree</fsummary>
+ <desc>
+ <p>Looks up <c><anno>Key</anno></c> in <c><anno>Tree</anno></c>; returns
+ <c>{value, <anno>Val</anno>}</c>, or <c>none</c> if <c><anno>Key</anno></c> is not
+ present.</p>
+ </desc>
+ </func>
+ <func>
<name name="map" arity="2"/>
<fsummary>Return largest key and value</fsummary>
<desc><p>Maps the function F(<anno>K</anno>, <anno>V1</anno>) -> <anno>V2</anno> to all key-value pairs