Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gb_sets: group aliased functions in documentation #7568

Merged
merged 1 commit into from
Aug 18, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading