Safe Haskell | None |
---|---|
Language | Haskell98 |
This module contains functions for cleaning up types before they are rendered, e.g. in error messages or annoations, and also some PPrint instances that rely upon tidying.
- tidySpecType :: Tidy -> SpecType -> SpecType
- tidySymbol :: Symbol -> Symbol
- isTmpSymbol :: Symbol -> Bool
- panicError :: Error -> a
- class Result a where
- cinfoError :: Cinfo -> Error
Tidying functions
tidySpecType :: Tidy -> SpecType -> SpecType Source
tidySymbol :: Symbol -> Symbol
Tidyness tests
isTmpSymbol :: Symbol -> Bool Source
Panic and Exit
panicError :: Error -> a Source
This function is put in this module as it depends on the Exception instance, which depends on the PPrint instance, which depends on tidySpecType.
Show an Error, then crash
Final result
Converting Results To Answers -------------------------------------
MOVE TO TYPES
cinfoError :: Cinfo -> Error Source