summaryrefslogtreecommitdiff
path: root/libraries/base/Data/Bits.hs
diff options
context:
space:
mode:
authorIan Lynagh <ian@well-typed.com>2012-09-23 21:45:52 +0100
committerIan Lynagh <ian@well-typed.com>2012-09-23 21:45:52 +0100
commita9ecd61ffc282e6869b783d2dc3dc347635ca140 (patch)
treeb9765cb1b7438627134e4263186753c99e83b1aa /libraries/base/Data/Bits.hs
parent925782ed21762ab62e7084c93eed11872410366a (diff)
downloadhaskell-a9ecd61ffc282e6869b783d2dc3dc347635ca140.tar.gz
Deprecate bitSize
Diffstat (limited to 'libraries/base/Data/Bits.hs')
-rw-r--r--libraries/base/Data/Bits.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/libraries/base/Data/Bits.hs b/libraries/base/Data/Bits.hs
index 97edb3485a..5b1e1d438c 100644
--- a/libraries/base/Data/Bits.hs
+++ b/libraries/base/Data/Bits.hs
@@ -71,6 +71,8 @@ infixl 7 .&.
infixl 6 `xor`
infixl 5 .|.
+{-# DEPRECATED bitSize "Use bitSizeMaybe or finiteBitSize instead" #-}
+
{-|
The 'Bits' class defines bitwise operations over integral types.