packages feed

ghc-experimental 9.1203.0 → 9.1204.0

raw patch · 2 files changed

+31/−2 lines, 2 filesdep ~ghc-internalPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: ghc-internal

API changes (from Hackage documentation)

+ GHC.Exception.Backtrace.Experimental: Backtraces :: Maybe (Ptr CostCentreStack) -> Maybe CallStack -> Maybe StackTrace -> Maybe StackSnapshot -> Backtraces
+ GHC.Exception.Backtrace.Experimental: CostCentreBacktrace :: BacktraceMechanism
+ GHC.Exception.Backtrace.Experimental: ExecutionBacktrace :: BacktraceMechanism
+ GHC.Exception.Backtrace.Experimental: HasCallStackBacktrace :: BacktraceMechanism
+ GHC.Exception.Backtrace.Experimental: IPEBacktrace :: BacktraceMechanism
+ GHC.Exception.Backtrace.Experimental: [btrCostCentre] :: Backtraces -> Maybe (Ptr CostCentreStack)
+ GHC.Exception.Backtrace.Experimental: [btrExecutionStack] :: Backtraces -> Maybe StackTrace
+ GHC.Exception.Backtrace.Experimental: [btrHasCallStack] :: Backtraces -> Maybe CallStack
+ GHC.Exception.Backtrace.Experimental: [btrIpe] :: Backtraces -> Maybe StackSnapshot
+ GHC.Exception.Backtrace.Experimental: collectBacktraces :: (?callStack :: CallStack) => IO Backtraces
+ GHC.Exception.Backtrace.Experimental: collectExceptionAnnotation :: HasCallStack => IO SomeExceptionAnnotation
+ GHC.Exception.Backtrace.Experimental: data BacktraceMechanism
+ GHC.Exception.Backtrace.Experimental: data Backtraces
+ GHC.Exception.Backtrace.Experimental: data CollectExceptionAnnotationMechanism
+ GHC.Exception.Backtrace.Experimental: displayBacktraces :: Backtraces -> String
+ GHC.Exception.Backtrace.Experimental: getBacktraceMechanismState :: BacktraceMechanism -> IO Bool
+ GHC.Exception.Backtrace.Experimental: getCollectExceptionAnnotationMechanism :: IO CollectExceptionAnnotationMechanism
+ GHC.Exception.Backtrace.Experimental: setBacktraceMechanismState :: BacktraceMechanism -> Bool -> IO ()
+ GHC.Exception.Backtrace.Experimental: setCollectExceptionAnnotation :: ExceptionAnnotation a => (HasCallStack => IO a) -> IO ()

Files

ghc-experimental.cabal view
@@ -6,7 +6,7 @@ name:               ghc-experimental -- The project is ghc's version plus ghc-experimental's version suffix. -- For example, for ghc=9.10.1, ghc-experimental's version will be 9.1001.0.-version:            9.1203.0+version:            9.1204.0 synopsis:           Experimental features of GHC's standard library description:     This package is where experimental GHC standard library interfaces start@@ -36,11 +36,12 @@       GHC.TypeLits.Experimental       GHC.TypeNats.Experimental       Prelude.Experimental+      GHC.Exception.Backtrace.Experimental     if arch(wasm32)         exposed-modules:  GHC.Wasm.Prim     other-extensions:     build-depends:    base >=4.20 && < 4.22,-                      ghc-internal == 9.1203.*,+                      ghc-internal == 9.1204.*,                       ghc-prim >= 0.11 && < 0.14     hs-source-dirs:   src     default-language: Haskell2010
+ src/GHC/Exception/Backtrace/Experimental.hs view
@@ -0,0 +1,28 @@+{-+Module      :  GHC.Exception.Backtrace.Experimental+Copyright   :  (c) The GHC Team+License     :  see libraries/ghc-experimental/LICENSE++Maintainer  :  ghc-devs@haskell.org+Stability   :  experimental+Portability :  non-portable (GHC extensions)++This module exposes experimental extensions to the Backtrace mechanism of GHC.+-}+module GHC.Exception.Backtrace.Experimental+    ( -- * Backtrace mechanisms+      BacktraceMechanism(..)+    , getBacktraceMechanismState+    , setBacktraceMechanismState+    -- * Collecting backtraces+    , Backtraces(..)+    , displayBacktraces+    , collectBacktraces+    -- * Collecting exception annotations on throwing 'Exception's+    , CollectExceptionAnnotationMechanism+    , getCollectExceptionAnnotationMechanism+    , setCollectExceptionAnnotation+    , collectExceptionAnnotation+  ) where++import GHC.Internal.Exception.Backtrace