idris-0.9.15.1: Functional Programming Language with Dependent Types

Safe HaskellNone

Idris.Colours

Synopsis

Documentation

data IdrisColour Source

Constructors

IdrisColour 

Fields

colour :: Maybe Color
 
vivid :: Bool
 
underline :: Bool
 
bold :: Bool
 
italic :: Bool
 

Instances

defaultTheme :: ColourThemeSource

Idris's default console colour theme

colouriseKwd :: ColourTheme -> String -> StringSource

colouriseBound :: ColourTheme -> String -> StringSource

colouriseImplicit :: ColourTheme -> String -> StringSource

colourisePostulate :: ColourTheme -> String -> StringSource

colouriseType :: ColourTheme -> String -> StringSource

colouriseFun :: ColourTheme -> String -> StringSource

colouriseData :: ColourTheme -> String -> StringSource

colouriseKeyword :: ColourTheme -> String -> StringSource

colourisePrompt :: ColourTheme -> String -> StringSource

colourise :: IdrisColour -> String -> StringSource

Set the colour of a string using POSIX escape codes