Skip to content
Snippets Groups Projects
Commit 16d86b97 authored by ARATA Mizuki's avatar ARATA Mizuki Committed by Marge Bot
Browse files

bitReverse functions in GHC.Word are since base-4.14.0.0, not 4.12.0.0

They were added in 33173a51, which constitutes GHC 8.10.1 / base-4.14.0.0
parent 7bcd91f4
No related branches found
No related tags found
No related merge requests found
......@@ -878,25 +878,25 @@ byteSwap64 (W64# w#) = W64# (byteSwap64# w#)
-- | Reverse the order of the bits in a 'Word8'.
--
-- @since 4.12.0.0
-- @since 4.14.0.0
bitReverse8 :: Word8 -> Word8
bitReverse8 (W8# w#) = W8# (wordToWord8# (bitReverse8# (word8ToWord# w#)))
-- | Reverse the order of the bits in a 'Word16'.
--
-- @since 4.12.0.0
-- @since 4.14.0.0
bitReverse16 :: Word16 -> Word16
bitReverse16 (W16# w#) = W16# (wordToWord16# (bitReverse16# (word16ToWord# w#)))
-- | Reverse the order of the bits in a 'Word32'.
--
-- @since 4.12.0.0
-- @since 4.14.0.0
bitReverse32 :: Word32 -> Word32
bitReverse32 (W32# w#) = W32# (wordToWord32# (bitReverse32# (word32ToWord# w#)))
-- | Reverse the order of the bits in a 'Word64'.
--
-- @since 4.12.0.0
-- @since 4.14.0.0
bitReverse64 :: Word64 -> Word64
bitReverse64 (W64# w#) = W64# (bitReverse64# w#)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment