Skip to content

Commit df39d5c

Browse files
author
Johannes Waldmann
committed
hide un-used name (-Werror complains)
1 parent c43e1fc commit df39d5c

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

containers/src/Data/Set/Internal.hs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1827,7 +1827,6 @@ splitRoot orig =
18271827
--
18281828
-- @since 0.5.11
18291829

1830-
18311830
powerSet :: Set a -> Set (Set a)
18321831
powerSet xs =
18331832
let !w = length xs
@@ -1889,9 +1888,9 @@ clearLowest m | m > 0 = m .&. (m-1)
18891888
-- = O(log n * \sum_{i=1}^{n-1} 2^i)
18901889
-- = O(2^n log n)
18911890

1892-
powerSet_orig :: Set a -> Set (Set a)
1893-
powerSet_orig xs0 = insertMin empty (foldr' step Tip xs0) where
1894-
step x pxs = insertMin (singleton x) (insertMin x `mapMonotonic` pxs) `glue` pxs
1891+
-- powerSet_orig :: Set a -> Set (Set a)
1892+
-- powerSet_orig xs0 = insertMin empty (foldr' step Tip xs0) where
1893+
-- step x pxs = insertMin (singleton x) (insertMin x `mapMonotonic` pxs) `glue` pxs
18951894

18961895
-- | \(O(nm)\). Calculate the Cartesian product of two sets.
18971896
--

0 commit comments

Comments
 (0)