ghc-9.0.1: The GHC API
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 # 
Instance details

Defined in GHC.Utils.Ppr.Colour

Monoid PprColour #

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).