|
| 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 |
|
| irrefutPatError :: Addr# -> a | Source |
|
|
| noMethodBindingError :: Addr# -> a | Source |
|
|
| nonExhaustiveGuardsError :: Addr# -> a | Source |
|
|
|
|
| recSelError :: Addr# -> a | Source |
|
|
| recConError :: Addr# -> a | Source |
|
|
| runtimeError :: Addr# -> a | Source |
|
|
|
|
|
|
|
|
|
| error stops execution and displays an error message.
|
|
|
|
|
| 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.0.0.0 |