| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Language.PureScript.DCE.Errors
Description
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 #
Constructors
| EntryPoint (Qualified Ident) | |
| EntryModule ModuleName | |
| EntryParseError String |
Instances
| Read EntryPoint Source # | |
Defined in Language.PureScript.DCE.Errors Methods readsPrec :: Int -> ReadS EntryPoint # readList :: ReadS [EntryPoint] # readPrec :: ReadPrec EntryPoint # readListPrec :: ReadPrec [EntryPoint] # | |
| Show EntryPoint Source # | |
Defined in Language.PureScript.DCE.Errors Methods showsPrec :: Int -> EntryPoint -> ShowS # show :: EntryPoint -> String # showList :: [EntryPoint] -> ShowS # | |
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 #