ghc-lib-parser-9.2.3.20220527: The GHC API, decoupled from GHC versions
Safe HaskellNone
LanguageHaskell2010

GHC.Utils.Ppr.Colour

Synopsis

Documentation

newtype PprColour Source #

A colour/style for use with coloured.

Constructors

PprColour 

Fields

Instances

Instances details
Semigroup PprColour Source # 
Instance details

Defined in GHC.Utils.Ppr.Colour

Monoid PprColour Source #

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

Instance details

Defined in GHC.Utils.Ppr.Colour

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

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