ghc-lib-parser-8.10.1.20200412: The GHC API, decoupled from GHC versions

Safe HaskellNone
LanguageHaskell2010

PprColour

Synopsis

Documentation

newtype PprColour Source #

A colour/style for use with coloured.

Constructors

PprColour 

Fields

Instances
Semigroup PprColour Source # 
Instance details

Defined in PprColour

Monoid PprColour Source #

Allow colours to be combined (e.g. bold + red); In case of conflict, right side takes precedence.

Instance details

Defined in PprColour

parseScheme :: String -> (OverridingBool, Scheme) -> (OverridingBool, Scheme) Source #

Parse the colour scheme from a string (presumably from the GHC_COLORS environment variable).