idris-1.3.2: Functional Programming Language with Dependent Types

LicenseBSD3
MaintainerThe Idris Community.
Safe HaskellSafe
LanguageHaskell2010

Idris.Colours

Description

 
Synopsis

Documentation

data IdrisColour Source #

Constructors

IdrisColour 
Instances
Eq IdrisColour Source # 
Instance details

Defined in Idris.Colours

Show IdrisColour Source # 
Instance details

Defined in Idris.Colours

NFData IdrisColour Source # 
Instance details

Defined in Idris.DeepSeq

Methods

rnf :: IdrisColour -> () #

data ColourTheme Source #

Instances
Eq ColourTheme Source # 
Instance details

Defined in Idris.Colours

Show ColourTheme Source # 
Instance details

Defined in Idris.Colours

Generic ColourTheme Source # 
Instance details

Defined in Idris.Colours

Associated Types

type Rep ColourTheme :: Type -> Type #

NFData ColourTheme Source # 
Instance details

Defined in Idris.DeepSeq

Methods

rnf :: ColourTheme -> () #

type Rep ColourTheme Source # 
Instance details

Defined in Idris.Colours

defaultTheme :: ColourTheme Source #

Idris's default console colour theme

colourise :: IdrisColour -> String -> String Source #

Set the colour of a string using POSIX escape codes

hStartColourise :: Handle -> IdrisColour -> IO () Source #

Start a colour on a handle, to support colour output on Windows

hEndColourise :: Handle -> IdrisColour -> IO () Source #

End a colour region on a handle