Wolfgang Jeltsch pushed to branch wip/jeltsch/stability-risk-1-and-2-module-deprecation at Glasgow Haskell Compiler / GHC
Commits:
-
d0aa167f
by Wolfgang Jeltsch at 2026-01-28T16:31:47+02:00
15 changed files:
- libraries/base/src/GHC/Arr.hs
- libraries/base/src/GHC/ArrayArray.hs
- libraries/base/src/GHC/Conc/IO.hs
- libraries/base/src/GHC/Encoding/UTF8.hs
- libraries/base/src/GHC/Exception.hs
- libraries/base/src/GHC/Exception/Type.hs
- libraries/base/src/GHC/Fingerprint/Type.hs
- libraries/base/src/GHC/IO/Buffer.hs
- libraries/base/src/GHC/IO/Device.hs
- libraries/base/src/GHC/IO/Encoding.hs
- libraries/base/src/GHC/IO/Exception.hs
- libraries/base/src/GHC/IO/Handle/Text.hs
- libraries/base/src/GHC/InfoProv.hs
- libraries/base/src/GHC/Stack/Types.hs
- libraries/base/src/GHC/TopHandler.hs
Changes:
| ... | ... | @@ -24,7 +24,7 @@ |
| 24 | 24 | #endif
|
| 25 | 25 | |
| 26 | 26 | module GHC.Arr
|
| 27 | - {-# DEPRECATED ["GHC.Arr is deprecated and will be removed in GHC 10.02. Please use the array package."] #-}
|
|
| 27 | + {-# DEPRECATED "GHC.Arr is deprecated and will be removed in GHC 10.02. Please use the array package." #-}
|
|
| 28 | 28 | (Ix(..),
|
| 29 | 29 | Array(..),
|
| 30 | 30 | STArray(..),
|
| ... | ... | @@ -24,7 +24,7 @@ |
| 24 | 24 | #endif
|
| 25 | 25 | |
| 26 | 26 | module GHC.ArrayArray
|
| 27 | - {-# DEPRECATED ["GHC.ArrayArray is deprecated and will be removed in GHC 10.02. Please use GHC.Exts."] #-}
|
|
| 27 | + {-# DEPRECATED "GHC.ArrayArray is deprecated and will be removed in GHC 10.02. Please use GHC.Exts." #-}
|
|
| 28 | 28 | (ArrayArray#(..),
|
| 29 | 29 | MutableArrayArray#(..),
|
| 30 | 30 | newArrayArray#,
|
| ... | ... | @@ -24,7 +24,7 @@ |
| 24 | 24 | #endif
|
| 25 | 25 | |
| 26 | 26 | module GHC.Conc.IO
|
| 27 | - {-# DEPRECATED ["GHC.Conc.IO is deprecated and will be removed in GHC 10.02. Please use GHC.Conc where possible and the ghc-internal package otherwise."] #-}
|
|
| 27 | + {-# DEPRECATED "GHC.Conc.IO is deprecated and will be removed in GHC 10.02. Please use GHC.Conc where possible and the ghc-internal package otherwise." #-}
|
|
| 28 | 28 | (ensureIOManagerIsRunning,
|
| 29 | 29 | ioManagerCapabilitiesChanged,
|
| 30 | 30 | interruptIOManager,
|
| ... | ... | @@ -30,7 +30,7 @@ |
| 30 | 30 | #endif
|
| 31 | 31 | |
| 32 | 32 | module GHC.Encoding.UTF8
|
| 33 | - {-# DEPRECATED ["GHC.Encoding.UTF8 is deprecated and will be removed in GHC 10.02. Please use the text package."] #-}
|
|
| 33 | + {-# DEPRECATED "GHC.Encoding.UTF8 is deprecated and will be removed in GHC 10.02. Please use the text package." #-}
|
|
| 34 | 34 | (-- * Decoding single characters
|
| 35 | 35 | utf8DecodeCharAddr#,
|
| 36 | 36 | utf8DecodeCharPtr,
|
| ... | ... | @@ -25,7 +25,7 @@ |
| 25 | 25 | #endif
|
| 26 | 26 | |
| 27 | 27 | module GHC.Exception
|
| 28 | - {-# DEPRECATED ["GHC.Exception is deprecated and will be removed in GHC 10.02. Please use Control.Exception where possible and the ghc-internal package otherwise."] #-}
|
|
| 28 | + {-# DEPRECATED "GHC.Exception is deprecated and will be removed in GHC 10.02. Please use Control.Exception where possible and the ghc-internal package otherwise." #-}
|
|
| 29 | 29 | ( -- * 'Exception' class
|
| 30 | 30 | Exception(..)
|
| 31 | 31 |
| ... | ... | @@ -19,7 +19,7 @@ |
| 19 | 19 | #endif
|
| 20 | 20 | |
| 21 | 21 | module GHC.Exception.Type
|
| 22 | - {-# DEPRECATED ["GHC.Exception.Type is deprecated and will be removed in GHC 10.02. Please use Control.Exception where possible and the ghc-internal package otherwise."] #-}
|
|
| 22 | + {-# DEPRECATED "GHC.Exception.Type is deprecated and will be removed in GHC 10.02. Please use Control.Exception where possible and the ghc-internal package otherwise." #-}
|
|
| 23 | 23 | ( Exception(..) -- Class
|
| 24 | 24 | , SomeException(..), ArithException(..)
|
| 25 | 25 | , divZeroException, overflowException, ratioZeroDenomException
|
| ... | ... | @@ -24,7 +24,7 @@ |
| 24 | 24 | #endif
|
| 25 | 25 | |
| 26 | 26 | module GHC.Fingerprint.Type
|
| 27 | - {-# DEPRECATED ["GHC.Fingerprint.Type is deprecated and will be removed in GHC 10.02. Please use GHC.Fingerprint."] #-}
|
|
| 27 | + {-# DEPRECATED "GHC.Fingerprint.Type is deprecated and will be removed in GHC 10.02. Please use GHC.Fingerprint." #-}
|
|
| 28 | 28 | (Fingerprint(..)
|
| 29 | 29 | ) where
|
| 30 | 30 |
| ... | ... | @@ -24,7 +24,7 @@ |
| 24 | 24 | #endif
|
| 25 | 25 | |
| 26 | 26 | module GHC.IO.Buffer
|
| 27 | - {-# DEPRECATED ["GHC.IO.Buffer is deprecated and will be removed in GHC 10.02. Please use the ghc-internal package."] #-}
|
|
| 27 | + {-# DEPRECATED "GHC.IO.Buffer is deprecated and will be removed in GHC 10.02. Please use the ghc-internal package." #-}
|
|
| 28 | 28 | (-- * Buffers of any element
|
| 29 | 29 | Buffer(..),
|
| 30 | 30 | BufferState(..),
|
| ... | ... | @@ -23,7 +23,7 @@ |
| 23 | 23 | #endif
|
| 24 | 24 | |
| 25 | 25 | module GHC.IO.Device (
|
| 26 | - {-# DEPRECATED ["GHC.IO.Device is deprecated and will be removed in GHC 10.02. Please use the ghc-internal package."] #-}
|
|
| 26 | + {-# DEPRECATED "GHC.IO.Device is deprecated and will be removed in GHC 10.02. Please use the ghc-internal package." #-}
|
|
| 27 | 27 | RawIO(..),
|
| 28 | 28 | IODevice(..),
|
| 29 | 29 | IODeviceType(..),
|
| ... | ... | @@ -24,7 +24,7 @@ |
| 24 | 24 | #endif
|
| 25 | 25 | |
| 26 | 26 | module GHC.IO.Encoding
|
| 27 | - {-# DEPRECATED ["GHC.IO.Encoding is deprecated and will be removed in GHC 10.02. Please use the ghc-internal package."] #-}
|
|
| 27 | + {-# DEPRECATED "GHC.IO.Encoding is deprecated and will be removed in GHC 10.02. Please use the ghc-internal package." #-}
|
|
| 28 | 28 | (BufferCodec(..),
|
| 29 | 29 | TextEncoding(..),
|
| 30 | 30 | TextEncoder,
|
| ... | ... | @@ -24,7 +24,7 @@ |
| 24 | 24 | #endif
|
| 25 | 25 | |
| 26 | 26 | module GHC.IO.Exception (
|
| 27 | - {-# DEPRECATED ["GHC.IO.Exception is deprecated and will be removed in GHC 10.02. Please use the ghc-internal package."] #-}
|
|
| 27 | + {-# DEPRECATED "GHC.IO.Exception is deprecated and will be removed in GHC 10.02. Please use the ghc-internal package." #-}
|
|
| 28 | 28 | BlockedIndefinitelyOnMVar(..), blockedIndefinitelyOnMVar,
|
| 29 | 29 | BlockedIndefinitelyOnSTM(..), blockedIndefinitelyOnSTM,
|
| 30 | 30 | Deadlock(..),
|
| ... | ... | @@ -24,7 +24,7 @@ |
| 24 | 24 | #endif
|
| 25 | 25 | |
| 26 | 26 | module GHC.IO.Handle.Text (
|
| 27 | - {-# DEPRECATED ["GHC.IO.Handle.Text is deprecated and will be removed in GHC 10.02. Please use the ghc-internal package."] #-}
|
|
| 27 | + {-# DEPRECATED "GHC.IO.Handle.Text is deprecated and will be removed in GHC 10.02. Please use the ghc-internal package." #-}
|
|
| 28 | 28 | hWaitForInput, hGetChar, hGetLine, hGetContents, hPutChar, hPutStr,
|
| 29 | 29 | commitBuffer', -- hack, see below
|
| 30 | 30 | hGetBuf, hGetBufSome, hGetBufNonBlocking, hPutBuf, hPutBufNonBlocking,
|
| ... | ... | @@ -25,7 +25,7 @@ |
| 25 | 25 | #endif
|
| 26 | 26 | |
| 27 | 27 | module GHC.InfoProv
|
| 28 | - {-# DEPRECATED ["GHC.InfoProv is deprecated and will be removed in GHC 10.02. Please use the ghc-internal package."] #-}
|
|
| 28 | + {-# DEPRECATED "GHC.InfoProv is deprecated and will be removed in GHC 10.02. Please use the ghc-internal package." #-}
|
|
| 29 | 29 | ( InfoProv(..)
|
| 30 | 30 | , ipLoc
|
| 31 | 31 | , ipeProv
|
| ... | ... | @@ -27,7 +27,7 @@ |
| 27 | 27 | #endif
|
| 28 | 28 | |
| 29 | 29 | module GHC.Stack.Types
|
| 30 | - {-# DEPRECATED ["GHC.Stack.Types is deprecated and will be removed in GHC 10.02. Please use GHC.Stack."] #-}
|
|
| 30 | + {-# DEPRECATED "GHC.Stack.Types is deprecated and will be removed in GHC 10.02. Please use GHC.Stack." #-}
|
|
| 31 | 31 | (-- * Implicit call stacks
|
| 32 | 32 | CallStack(..),
|
| 33 | 33 | HasCallStack,
|
| ... | ... | @@ -26,7 +26,7 @@ |
| 26 | 26 | #endif
|
| 27 | 27 | |
| 28 | 28 | module GHC.TopHandler
|
| 29 | - {-# DEPRECATED ["GHC.TopHandler is deprecated and will be removed in GHC 10.02. Please use GHC.Conc where possible and the ghc-internal package otherwise."] #-}
|
|
| 29 | + {-# DEPRECATED "GHC.TopHandler is deprecated and will be removed in GHC 10.02. Please use GHC.Conc where possible and the ghc-internal package otherwise." #-}
|
|
| 30 | 30 | (runMainIO,
|
| 31 | 31 | runIO,
|
| 32 | 32 | runIOFastExit,
|