File tree Expand file tree Collapse file tree 2 files changed +33
-33
lines changed Expand file tree Collapse file tree 2 files changed +33
-33
lines changed Original file line number Diff line number Diff line change @@ -73,32 +73,37 @@ module Data.IntSet (
73
73
#endif
74
74
, Key
75
75
76
- -- * Operators
77
- , (\\)
76
+ -- * Construction
77
+ , empty
78
+ , singleton
79
+ , fromList
80
+ , fromAscList
81
+ , fromDistinctAscList
82
+
83
+ -- * Insertion
84
+ , insert
85
+
86
+ -- * Deletion
87
+ , delete
78
88
79
89
-- * Query
80
- , IS. null
81
- , size
82
90
, member
83
91
, notMember
84
92
, lookupLT
85
93
, lookupGT
86
94
, lookupLE
87
95
, lookupGE
96
+ , IS. null
97
+ , size
88
98
, isSubsetOf
89
99
, isProperSubsetOf
90
100
, disjoint
91
101
92
- -- * Construction
93
- , empty
94
- , singleton
95
- , insert
96
- , delete
97
-
98
102
-- * Combine
99
103
, union
100
104
, unions
101
105
, difference
106
+ , (\\)
102
107
, intersection
103
108
104
109
-- * Filter
@@ -135,13 +140,8 @@ module Data.IntSet (
135
140
-- ** List
136
141
, elems
137
142
, toList
138
- , fromList
139
-
140
- -- ** Ordered list
141
143
, toAscList
142
144
, toDescList
143
- , fromAscList
144
- , fromDistinctAscList
145
145
146
146
-- * Debugging
147
147
, showTree
Original file line number Diff line number Diff line change @@ -72,33 +72,40 @@ module Data.Set (
72
72
Set (.. )
73
73
#endif
74
74
75
- -- * Operators
76
- , (\\)
75
+ -- * Construction
76
+ , empty
77
+ , singleton
78
+ , fromList
79
+ , fromAscList
80
+ , fromDescList
81
+ , fromDistinctAscList
82
+ , fromDistinctDescList
83
+ , powerSet
84
+
85
+ -- * Insertion
86
+ , insert
87
+
88
+ -- * Deletion
89
+ , delete
77
90
78
91
-- * Query
79
- , S. null
80
- , size
81
92
, member
82
93
, notMember
83
94
, lookupLT
84
95
, lookupGT
85
96
, lookupLE
86
97
, lookupGE
98
+ , S. null
99
+ , size
87
100
, isSubsetOf
88
101
, isProperSubsetOf
89
102
, disjoint
90
103
91
- -- * Construction
92
- , empty
93
- , singleton
94
- , insert
95
- , delete
96
- , powerSet
97
-
98
104
-- * Combine
99
105
, union
100
106
, unions
101
107
, difference
108
+ , (\\)
102
109
, intersection
103
110
, cartesianProduct
104
111
, disjointUnion
@@ -152,15 +159,8 @@ module Data.Set (
152
159
-- ** List
153
160
, elems
154
161
, toList
155
- , fromList
156
-
157
- -- ** Ordered list
158
162
, toAscList
159
163
, toDescList
160
- , fromAscList
161
- , fromDescList
162
- , fromDistinctAscList
163
- , fromDistinctDescList
164
164
165
165
-- * Debugging
166
166
, showTree
You can’t perform that action at this time.
0 commit comments