diff options
| author | Ian Lynagh <ian@well-typed.com> | 2013-02-16 00:43:14 +0000 |
|---|---|---|
| committer | Ian Lynagh <ian@well-typed.com> | 2013-02-16 00:56:29 +0000 |
| commit | 36f2d30d5dfd01f647b09365da84dcbf592aee83 (patch) | |
| tree | 0a8370c7170642af21a47c07606b0ef58894fd46 /libraries/base/Data | |
| parent | 25d1eafeb41f046630f978da3655ae578c9c83b1 (diff) | |
| download | haskell-36f2d30d5dfd01f647b09365da84dcbf592aee83.tar.gz | |
Mark DEPRECATED pragmas with when they were added
Diffstat (limited to 'libraries/base/Data')
| -rw-r--r-- | libraries/base/Data/Bits.hs | 2 | ||||
| -rw-r--r-- | libraries/base/Data/OldTypeable.hs | 6 | ||||
| -rw-r--r-- | libraries/base/Data/OldTypeable/Internal.hs | 4 | ||||
| -rw-r--r-- | libraries/base/Data/Typeable/Internal.hs | 2 |
4 files changed, 7 insertions, 7 deletions
diff --git a/libraries/base/Data/Bits.hs b/libraries/base/Data/Bits.hs index 63e6b811c4..2385ab9ae5 100644 --- a/libraries/base/Data/Bits.hs +++ b/libraries/base/Data/Bits.hs @@ -69,7 +69,7 @@ infixl 7 .&. infixl 6 `xor` infixl 5 .|. -{-# DEPRECATED bitSize "Use bitSizeMaybe or finiteBitSize instead" #-} +{-# DEPRECATED bitSize "Use bitSizeMaybe or finiteBitSize instead" #-} -- deprecated in 7.8 {-| The 'Bits' class defines bitwise operations over integral types. diff --git a/libraries/base/Data/OldTypeable.hs b/libraries/base/Data/OldTypeable.hs index 2d5f0d464d..bed7ad15ab 100644 --- a/libraries/base/Data/OldTypeable.hs +++ b/libraries/base/Data/OldTypeable.hs @@ -30,7 +30,7 @@ -- ----------------------------------------------------------------------------- -module Data.OldTypeable {-# DEPRECATED "Use Data.Typeable instead" #-} +module Data.OldTypeable {-# DEPRECATED "Use Data.Typeable instead" #-} -- deprecated in 7.8 ( -- * The Typeable class @@ -121,7 +121,7 @@ import Hugs.ConcBase ( MVar ) #include "OldTypeable.h" -{-# DEPRECATED typeRepKey "TypeRep itself is now an instance of Ord" #-} +{-# DEPRECATED typeRepKey "TypeRep itself is now an instance of Ord" #-} -- deprecated in 7.2 -- | (DEPRECATED) Returns a unique key associated with a 'TypeRep'. -- This function is deprecated because 'TypeRep' itself is now an -- instance of 'Ord', so mappings can be made directly with 'TypeRep' @@ -146,7 +146,7 @@ newtype TypeRepKey = TypeRepKey Fingerprint ----------------- Construction --------------------- -{-# DEPRECATED mkTyCon "either derive Typeable, or use mkTyCon3 instead" #-} +{-# DEPRECATED mkTyCon "either derive Typeable, or use mkTyCon3 instead" #-} -- deprecated in 7.2 -- | Backwards-compatible API mkTyCon :: String -- ^ unique string -> TyCon -- ^ A unique 'TyCon' object diff --git a/libraries/base/Data/OldTypeable/Internal.hs b/libraries/base/Data/OldTypeable/Internal.hs index 96bbf0ba62..5c261307f1 100644 --- a/libraries/base/Data/OldTypeable/Internal.hs +++ b/libraries/base/Data/OldTypeable/Internal.hs @@ -22,7 +22,7 @@ {-# LANGUAGE DeriveDataTypeable, StandaloneDeriving #-} #endif -module Data.OldTypeable.Internal {-# DEPRECATED "Use Data.Typeable.Internal instead" #-} ( +module Data.OldTypeable.Internal {-# DEPRECATED "Use Data.Typeable.Internal instead" #-} ( -- deprecated in 7.8 TypeRep(..), TyCon(..), mkTyCon, @@ -189,7 +189,7 @@ typeRepArgs :: TypeRep -> [TypeRep] typeRepArgs (TypeRep _ _ args) = args -- | Observe string encoding of a type representation -{-# DEPRECATED tyConString "renamed to tyConName; tyConModule and tyConPackage are also available." #-} +{-# DEPRECATED tyConString "renamed to tyConName; tyConModule and tyConPackage are also available." #-} -- deprecated in 7.4 tyConString :: TyCon -> String tyConString = tyConName diff --git a/libraries/base/Data/Typeable/Internal.hs b/libraries/base/Data/Typeable/Internal.hs index 8749275554..440c4e869b 100644 --- a/libraries/base/Data/Typeable/Internal.hs +++ b/libraries/base/Data/Typeable/Internal.hs @@ -178,7 +178,7 @@ typeRepArgs :: TypeRep -> [TypeRep] typeRepArgs (TypeRep _ _ args) = args -- | Observe string encoding of a type representation -{-# DEPRECATED tyConString "renamed to tyConName; tyConModule and tyConPackage are also available." #-} +{-# DEPRECATED tyConString "renamed to tyConName; tyConModule and tyConPackage are also available." #-} -- deprecated in 7.4 tyConString :: TyCon -> String tyConString = tyConName |
