|
GHC.Err | Portability | non-portable (GHC extensions) | Stability | internal | Maintainer | cvs-ghc@haskell.org |
|
|
|
Description |
The GHC.Err module defines the code for the wired-in error functions,
which have a special type in the compiler (with "open tyvars").
We cannot define these functions in a module where they might be used
(e.g., GHC.Base), because the magical wired-in type will get confused
with what the typechecker figures out.
|
|
Synopsis |
|
|
|
Documentation |
|
recConError :: Addr# -> a |
|
absentErr :: a |
|
divZeroError :: a |
|
overflowError :: a |
|
error :: String -> a |
error stops execution and displays an error message.
|
|
assertError :: Addr# -> Bool -> a -> a |
|
undefined :: a |
A special case of error.
It is expected that compilers will recognize this and insert error
messages which are more appropriate to the context in which undefined
appears.
|
|
Produced by Haddock version 2.2.2 |