diff options
author | ARATA Mizuki <minorinoki@gmail.com> | 2021-11-16 09:15:03 +0900 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2021-11-17 05:12:56 -0500 |
commit | 16d86b97ee3056b54441e7dfd349477f32347a26 (patch) | |
tree | 27520683218494ee6eea7b02c8cb113a1cccd23c | |
parent | 7bcd91f45f468abf158753ac46679d4d3aeccd4a (diff) | |
download | haskell-16d86b97ee3056b54441e7dfd349477f32347a26.tar.gz |
bitReverse functions in GHC.Word are since base-4.14.0.0, not 4.12.0.0
They were added in 33173a51c77d9960d5009576ad9b67b646dfda3c, which constitutes GHC 8.10.1 / base-4.14.0.0
-rw-r--r-- | libraries/base/GHC/Word.hs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libraries/base/GHC/Word.hs b/libraries/base/GHC/Word.hs index 408dede2d3..1dc0497856 100644 --- a/libraries/base/GHC/Word.hs +++ b/libraries/base/GHC/Word.hs @@ -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#) |