ghc-9.2.1: The GHC API
Safe HaskellSafe-Inferred
LanguageHaskell2010

GHC.Utils.Ppr.Colour

Synopsis

Documentation

newtype PprColour Source #

A colour/style for use with coloured.

Constructors

PprColour 

Fields

Instances

Instances details
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

Semigroup PprColour Source # 
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).