Skip to content

Commit 3fecaba

Browse files
TOTBWFtreeowl
authored andcommitted
Gate export of 'intersection' and 'Intersection' behind CPP
1 parent 89ded1c commit 3fecaba

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

containers/src/Data/Set/Internal.hs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,9 +155,15 @@ module Data.Set.Internal (
155155
, unions
156156
, difference
157157
, intersection
158+
#if (MIN_VERSION_base(4,9,0))
158159
, intersections
160+
#endif
159161
, cartesianProduct
160162
, disjointUnion
163+
#if (MIN_VERSION_base(4,9,0))
164+
, Intersection(..)
165+
#endif
166+
161167

162168
-- * Filter
163169
, filter

0 commit comments

Comments
 (0)