Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Errors used in dead call elimination.
Synopsis
- data EntryPoint
- showEntryPoint :: EntryPoint -> Text
- isEntryParseError :: EntryPoint -> Bool
- data DCEError (a :: Level)
- displayDCEError :: FilePath -> DCEError 'Error -> String
- displayDCEWarning :: FilePath -> (Int, Int) -> DCEError 'Warning -> String
- data Level
- warnColor :: (ColorIntensity, Color, ConsoleIntensity)
- errorColor :: (ColorIntensity, Color, ConsoleIntensity)
- codeColor :: (ColorIntensity, Color, ConsoleIntensity)
- colorString :: (ColorIntensity, Color, ConsoleIntensity) -> String -> String
- colorText :: (ColorIntensity, Color, ConsoleIntensity) -> Text -> Text
Documentation
data EntryPoint Source #
Instances
Read EntryPoint Source # | |
Defined in Language.PureScript.DCE.Errors | |
Show EntryPoint Source # | |
Defined in Language.PureScript.DCE.Errors |
showEntryPoint :: EntryPoint -> Text Source #
isEntryParseError :: EntryPoint -> Bool Source #
data DCEError (a :: Level) Source #
Error type shared by dce
and dceEval
.
colorString :: (ColorIntensity, Color, ConsoleIntensity) -> String -> String Source #
colorText :: (ColorIntensity, Color, ConsoleIntensity) -> Text -> Text Source #