From 73bd40a2e84ceb72f139a132dd98265cbf603fbb Mon Sep 17 00:00:00 2001
From: Maria Scott
Date: Wed, 3 May 2023 09:27:41 +0200
Subject: Move compatibility section to sets documentation
---
lib/stdlib/doc/src/gb_sets.xml | 46 +++---------------------------
lib/stdlib/doc/src/ordsets.xml | 5 ++++
lib/stdlib/doc/src/sets.xml | 65 ++++++++++++++++++++++++++++++++++++++++++
3 files changed, 74 insertions(+), 42 deletions(-)
diff --git a/lib/stdlib/doc/src/gb_sets.xml b/lib/stdlib/doc/src/gb_sets.xml
index 3477c2c90e..283c3f9198 100644
--- a/lib/stdlib/doc/src/gb_sets.xml
+++ b/lib/stdlib/doc/src/gb_sets.xml
@@ -68,48 +68,10 @@
Compatibility
- The following functions in this module also exist and provides
- the same functionality in the
- sets(3) and
- ordsets(3)
- modules. That is, by only changing the module name for each call,
- you can try out different set representations.
-
- - add_element/2
-
- - del_element/2
-
- - filter/2
-
- - fold/3
-
- - from_list/1
-
- - intersection/1
-
- - intersection/2
-
- - is_element/2
-
- - is_empty/1
-
- - is_set/1
-
- - is_subset/2
-
- - new/0
-
- - size/1
-
- - subtract/2
-
- - to_list/1
-
- - union/1
-
- - union/2
-
-
+ See the Compatibility Section
+ in the sets(3) module for information about
+ the compatibility of the different implementations of sets in the
+ Standard Library.
diff --git a/lib/stdlib/doc/src/ordsets.xml b/lib/stdlib/doc/src/ordsets.xml
index 35127dcf95..7b02d13ab3 100644
--- a/lib/stdlib/doc/src/ordsets.xml
+++ b/lib/stdlib/doc/src/ordsets.xml
@@ -48,6 +48,11 @@
that while sets considers two elements as different if they
do not match (=:=), this module considers two elements as
different if and only if they do not compare equal (==).
+
+ See the Compatibility Section
+ in the sets(3) module for more information about
+ the compatibility of the different implementations of sets in the
+ Standard Library.
diff --git a/lib/stdlib/doc/src/sets.xml b/lib/stdlib/doc/src/sets.xml
index 53b64a3ac0..b3899c440f 100644
--- a/lib/stdlib/doc/src/sets.xml
+++ b/lib/stdlib/doc/src/sets.xml
@@ -69,6 +69,71 @@
+
+
--
cgit v1.2.1