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.
|
||||
* Expose `putByteString` and `putLByteString` monomorphic versions of `putStrLn` functions
|
||||
* Export `genericLength` and other generic list return functions.
|
||||
* Rename `msg` to `fatalErrorMessage`.
|
||||
* Export `ExceptT`, `ReaderT`, and `StateT` constructors.
|
||||
* Export `NonEmpty` type and constructor for GHC 8.0.
|
||||
|
||||
|
||||
+1
-1
@@ -426,6 +426,7 @@
|
||||
* expt
|
||||
* expts
|
||||
* expts10
|
||||
* fatalErrorMessage
|
||||
* filter
|
||||
* filterM
|
||||
* finally
|
||||
@@ -658,7 +659,6 @@
|
||||
* modifyMVarMasked_
|
||||
* modifyMVar_
|
||||
* mplus
|
||||
* msg
|
||||
* msum
|
||||
* myThreadId
|
||||
* mzero
|
||||
|
||||
+1
-1
@@ -110,7 +110,7 @@ Fatal Errors
|
||||
------------
|
||||
|
||||
```haskell
|
||||
data FatalError = FatalError {msg :: Text}
|
||||
data FatalError = FatalError {fatalErrorMessage :: Text}
|
||||
```
|
||||
|
||||
#### panic
|
||||
|
||||
+1
-1
@@ -12,7 +12,7 @@ import Data.Typeable (Typeable)
|
||||
import Control.Exception as X
|
||||
|
||||
-- | Uncatchable exceptions thrown and never caught.
|
||||
data FatalError = FatalError { msg :: Text }
|
||||
data FatalError = FatalError { fatalErrorMessage :: Text }
|
||||
deriving (Show, Typeable)
|
||||
|
||||
instance Exception FatalError
|
||||
|
||||
Reference in New Issue
Block a user