Skip to content

Commit

Permalink
Group alias functions in gb_sets documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Maria-12648430 committed Aug 17, 2023
1 parent b5e045c commit 122883c
Showing 1 changed file with 3 additions and 29 deletions.
32 changes: 3 additions & 29 deletions lib/stdlib/doc/src/gb_sets.xml
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@

<func>
<name name="del_element" arity="2" since=""/>
<name name="delete_any" arity="2" since=""/>
<fsummary>Remove a (possibly non-existing) element from a set.</fsummary>
<desc>
<p>Returns a new set formed from <c><anno>Set1</anno></c> with
Expand All @@ -140,19 +141,9 @@
</desc>
</func>

<func>
<name name="delete_any" arity="2" since=""/>
<fsummary>Remove a (possibly non-existing) element from a set.</fsummary>
<desc>
<p>Returns a new set formed from <c><anno>Set1</anno></c> with
<c><anno>Element</anno></c> removed. If <c><anno>Element</anno></c>
is not an element
in <c><anno>Set1</anno></c>, nothing is changed.</p>
</desc>
</func>

<func>
<name name="difference" arity="2" since=""/>
<name name="subtract" arity="2" since=""/>
<fsummary>Return the difference of two sets.</fsummary>
<desc>
<p>Returns only the elements of <c><anno>Set1</anno></c> that are not
Expand Down Expand Up @@ -254,6 +245,7 @@

<func>
<name name="is_element" arity="2" since=""/>
<name name="is_member" arity="2" since=""/>
<fsummary>Test for membership of a set.</fsummary>
<desc>
<p>Returns <c>true</c> if <c><anno>Element</anno></c> is an element of
Expand Down Expand Up @@ -281,15 +273,6 @@
</desc>
</func>

<func>
<name name="is_member" arity="2" since=""/>
<fsummary>Test for membership of a set.</fsummary>
<desc>
<p>Returns <c>true</c> if <c><anno>Element</anno></c> is an element of
<c><anno>Set</anno></c>, otherwise <c>false</c>.</p>
</desc>
</func>

<func>
<name name="is_set" arity="1" since=""/>
<fsummary>Test for a set.</fsummary>
Expand Down Expand Up @@ -411,15 +394,6 @@
</desc>
</func>

<func>
<name name="subtract" arity="2" since=""/>
<fsummary>Return the difference of two sets.</fsummary>
<desc>
<p>Returns only the elements of <c><anno>Set1</anno></c> that are not
also elements of <c><anno>Set2</anno></c>.</p>
</desc>
</func>

<func>
<name name="take_largest" arity="1" since=""/>
<fsummary>Extract largest element.</fsummary>
Expand Down

0 comments on commit 122883c

Please sign in to comment.