Remove throw and assert exports.
This commit is contained in:
@@ -1,9 +1,11 @@
|
|||||||
0.1.6
|
0.1.6
|
||||||
=====
|
=====
|
||||||
|
|
||||||
|
* Adds uncatchable panic exception throwing using Text message.
|
||||||
* Removes ``printf``
|
* Removes ``printf``
|
||||||
* Removes ``string-conv`` dependency so Stack build works without ``extra-deps``.
|
* Removes ``string-conv`` dependency so Stack build works without ``extra-deps``.
|
||||||
* Brings ``Callstack`` machinery in for GHC 8.x.
|
* Brings ``Callstack`` machinery in for GHC 8.x.
|
||||||
|
* Removes ``throw`` and ``assert`` from ``Control.Exception`` exports.
|
||||||
|
|
||||||
0.1.5
|
0.1.5
|
||||||
=====
|
=====
|
||||||
|
|||||||
+2
-2
@@ -61,14 +61,14 @@ import GHC.OverloadedLabels as X (
|
|||||||
)
|
)
|
||||||
|
|
||||||
import GHC.ExecutionStack as X (
|
import GHC.ExecutionStack as X (
|
||||||
Location(..),
|
Location(..)
|
||||||
, SrcLoc(..)
|
, SrcLoc(..)
|
||||||
, getStackTrace
|
, getStackTrace
|
||||||
, showStackTrace
|
, showStackTrace
|
||||||
)
|
)
|
||||||
|
|
||||||
import GHC.Stack as X (
|
import GHC.Stack as X (
|
||||||
, CallStack
|
CallStack
|
||||||
, HasCallStack
|
, HasCallStack
|
||||||
, callStack
|
, callStack
|
||||||
, SrcLoc
|
, SrcLoc
|
||||||
|
|||||||
+4
-1
@@ -311,7 +311,10 @@ import System.IO as X (
|
|||||||
import Control.Monad.ST as X
|
import Control.Monad.ST as X
|
||||||
|
|
||||||
-- Concurrency and Parallelism
|
-- Concurrency and Parallelism
|
||||||
import Control.Exception as X
|
import Control.Exception as X hiding (
|
||||||
|
throw
|
||||||
|
, assert
|
||||||
|
)
|
||||||
import Control.Monad.STM as X
|
import Control.Monad.STM as X
|
||||||
import Control.Concurrent as X
|
import Control.Concurrent as X
|
||||||
import Control.Concurrent.Async as X
|
import Control.Concurrent.Async as X
|
||||||
|
|||||||
Reference in New Issue
Block a user