Rename msg to fatalErrorMessage. (#34)
This is to free up `msg` as a variable name.
This commit is contained in:
committed by
Stephen Diehl
parent
d0e81532af
commit
51fdf38c71
@@ -5,6 +5,7 @@
|
|||||||
* Switch exported `(<>)` to be from `Data.Monoid` instead of Semigroup.
|
* Switch exported `(<>)` to be from `Data.Monoid` instead of Semigroup.
|
||||||
* Expose `putByteString` and `putLByteString` monomorphic versions of `putStrLn` functions
|
* Expose `putByteString` and `putLByteString` monomorphic versions of `putStrLn` functions
|
||||||
* Export `genericLength` and other generic list return functions.
|
* Export `genericLength` and other generic list return functions.
|
||||||
|
* Rename `msg` to `fatalErrorMessage`.
|
||||||
* Export `ExceptT`, `ReaderT`, and `StateT` constructors.
|
* Export `ExceptT`, `ReaderT`, and `StateT` constructors.
|
||||||
* Export `NonEmpty` type and constructor for GHC 8.0.
|
* Export `NonEmpty` type and constructor for GHC 8.0.
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -426,6 +426,7 @@
|
|||||||
* expt
|
* expt
|
||||||
* expts
|
* expts
|
||||||
* expts10
|
* expts10
|
||||||
|
* fatalErrorMessage
|
||||||
* filter
|
* filter
|
||||||
* filterM
|
* filterM
|
||||||
* finally
|
* finally
|
||||||
@@ -658,7 +659,6 @@
|
|||||||
* modifyMVarMasked_
|
* modifyMVarMasked_
|
||||||
* modifyMVar_
|
* modifyMVar_
|
||||||
* mplus
|
* mplus
|
||||||
* msg
|
|
||||||
* msum
|
* msum
|
||||||
* myThreadId
|
* myThreadId
|
||||||
* mzero
|
* mzero
|
||||||
|
|||||||
+1
-1
@@ -110,7 +110,7 @@ Fatal Errors
|
|||||||
------------
|
------------
|
||||||
|
|
||||||
```haskell
|
```haskell
|
||||||
data FatalError = FatalError {msg :: Text}
|
data FatalError = FatalError {fatalErrorMessage :: Text}
|
||||||
```
|
```
|
||||||
|
|
||||||
#### panic
|
#### panic
|
||||||
|
|||||||
+1
-1
@@ -12,7 +12,7 @@ import Data.Typeable (Typeable)
|
|||||||
import Control.Exception as X
|
import Control.Exception as X
|
||||||
|
|
||||||
-- | Uncatchable exceptions thrown and never caught.
|
-- | Uncatchable exceptions thrown and never caught.
|
||||||
data FatalError = FatalError { msg :: Text }
|
data FatalError = FatalError { fatalErrorMessage :: Text }
|
||||||
deriving (Show, Typeable)
|
deriving (Show, Typeable)
|
||||||
|
|
||||||
instance Exception FatalError
|
instance Exception FatalError
|
||||||
|
|||||||
Reference in New Issue
Block a user