Skip to content

Commit 9993869

Browse files
committed
Fix warnings
1 parent 6aa9450 commit 9993869

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/Data/Bit/Mutable.hs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,6 @@ zipInPlace f (BitVec off l xs) (BitMVec off' l' ys) =
205205
writeByteArray ys i (f x y)
206206
loop (i + 1) accNew
207207

208-
{-# SPECIALIZE zipInPlace :: (forall a. Bits a => a -> a -> a) -> Vector Bit -> MVector s Bit -> ST s () #-}
209208
{-# INLINABLE zipInPlace #-}
210209

211210
-- | Apply a function to a mutable vector bitwise,
@@ -228,7 +227,6 @@ mapInPlace f = case (unBit (f (Bit False)), unBit (f (Bit True))) of
228227
(False, True) -> const $ pure ()
229228
(True, False) -> invertInPlace
230229
(True, True) -> (`MU.set` Bit True)
231-
{-# SPECIALIZE mapInPlace :: (forall a. Bits a => a -> a) -> MVector s Bit -> ST s () #-}
232230
{-# INLINE mapInPlace #-}
233231

234232
-- | Invert (flip) all bits in-place.

0 commit comments

Comments
 (0)