diff options
author | Herbert Valerio Riedel <hvr@gnu.org> | 2014-12-16 12:07:10 +0100 |
---|---|---|
committer | Herbert Valerio Riedel <hvr@gnu.org> | 2014-12-16 13:30:08 +0100 |
commit | 554aedab646075e12e53b44df04bcfbccbe03a73 (patch) | |
tree | 0832201a44fd74632bbbd88fb77cb6c11eb34cf7 /libraries/base/GHC/Word.hs | |
parent | 45a9696c550c5fe5e891b6d4710179272dc9f6db (diff) | |
download | haskell-554aedab646075e12e53b44df04bcfbccbe03a73.tar.gz |
Convert `/Since: .../` to new `@since ...` syntax
Starting with Haddock 2.16 there's a new built-in support for since-annotations
Note: This exposes a bug in the `@since` implementation (see e.g. `Data.Bits`)
Diffstat (limited to 'libraries/base/GHC/Word.hs')
-rw-r--r-- | libraries/base/GHC/Word.hs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libraries/base/GHC/Word.hs b/libraries/base/GHC/Word.hs index 5351c0b94d..6663f59b7d 100644 --- a/libraries/base/GHC/Word.hs +++ b/libraries/base/GHC/Word.hs @@ -306,7 +306,7 @@ instance FiniteBits Word16 where -- | Swap bytes in 'Word16'. -- --- /Since: 4.7.0.0/ +-- @since 4.7.0.0 byteSwap16 :: Word16 -> Word16 byteSwap16 (W16# w#) = W16# (narrow16Word# (byteSwap16# w#)) @@ -538,7 +538,7 @@ instance Read Word32 where -- | Reverse order of bytes in 'Word32'. -- --- /Since: 4.7.0.0/ +-- @since 4.7.0.0 byteSwap32 :: Word32 -> Word32 byteSwap32 (W32# w#) = W32# (narrow32Word# (byteSwap32# w#)) @@ -794,7 +794,7 @@ instance Read Word64 where -- | Reverse order of bytes in 'Word64'. -- --- /Since: 4.7.0.0/ +-- @since 4.7.0.0 #if WORD_SIZE_IN_BITS < 64 byteSwap64 :: Word64 -> Word64 byteSwap64 (W64# w#) = W64# (byteSwap64# w#) |