Rename msg to fatalErrorMessage. (#34)

This is to free up `msg` as a variable name.
This commit is contained in:
Ian Jeffries
2017-01-01 18:45:08 -05:00
committed by Stephen Diehl
parent d0e81532af
commit 51fdf38c71
4 changed files with 4 additions and 3 deletions
+1
View File
@@ -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
View File
@@ -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
View File
@@ -110,7 +110,7 @@ Fatal Errors
------------ ------------
```haskell ```haskell
data FatalError = FatalError {msg :: Text} data FatalError = FatalError {fatalErrorMessage :: Text}
``` ```
#### panic #### panic
+1 -1
View File
@@ -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