Skip to content

Commit df79cbc

Browse files
author
Johannes Waldmann
committed
cannot have unmatched patterns
1 parent df39d5c commit df79cbc

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

containers/src/Data/Set/Internal.hs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1874,9 +1874,7 @@ splitBits m | m > 0 =
18741874
in ST up (countTrailingZeros med) lo
18751875

18761876
clearLowest :: Int -> Int
1877-
clearLowest m | m > 0 = m .&. (m-1)
1878-
1879-
1877+
clearLowest m = m .&. (m-1)
18801878

18811879
-- Proof of complexity: step executes n times. At the ith step,
18821880
-- "insertMin x `mapMonotonic` pxs" takes O(2^i log i) time since pxs has size

0 commit comments

Comments
 (0)