[commit: base] master: Deprecate bitSize (701d9ed)
Ian Lynagh
igloo at earth.li
Sun Sep 23 23:35:56 CEST 2012
Repository : ssh://darcs.haskell.org//srv/darcs/packages/base
On branch : master
http://hackage.haskell.org/trac/ghc/changeset/701d9ed4b2bec5922709a91bfb625881d7dd47f0
>---------------------------------------------------------------
commit 701d9ed4b2bec5922709a91bfb625881d7dd47f0
Author: Ian Lynagh <ian at well-typed.com>
Date: Sun Sep 23 21:45:52 2012 +0100
Deprecate bitSize
>---------------------------------------------------------------
Data/Bits.hs | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/Data/Bits.hs b/Data/Bits.hs
index 97edb34..5b1e1d4 100644
--- a/Data/Bits.hs
+++ b/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.
More information about the Cvs-libraries
mailing list