diff --git a/libraries/ghc-internal/src/GHC/Internal/IO/Exception.hs b/libraries/ghc-internal/src/GHC/Internal/IO/Exception.hs index 0a2eaed538708a9f9178d8c0c664c7c3c65dd4f5..908952d5b555a9257b611549313d714620638219 100644 --- a/libraries/ghc-internal/src/GHC/Internal/IO/Exception.hs +++ b/libraries/ghc-internal/src/GHC/Internal/IO/Exception.hs @@ -189,18 +189,17 @@ instance Show SomeAsyncException where -- | @since base-4.7.0.0 instance Exception SomeAsyncException --- |@since base-4.7.0.0 +-- | @since base-4.7.0.0 asyncExceptionToException :: Exception e => e -> SomeException asyncExceptionToException = toException . SomeAsyncException --- |@since base-4.7.0.0 +-- | @since base-4.7.0.0 asyncExceptionFromException :: Exception e => SomeException -> Maybe e asyncExceptionFromException x = do SomeAsyncException a <- fromException x cast a - --- |Asynchronous exceptions. +-- | Asynchronous exceptions. data AsyncException = StackOverflow -- ^The current thread\'s stack exceeded its limit.