ghc-8.4.0.20180204: The GHC API

Safe HaskellNone
LanguageHaskell2010

PprColour

Synopsis

Documentation

newtype PprColour Source #

A colour/style for use with coloured.

Constructors

PprColour 

Fields

Instances
Semigroup PprColour # 
Instance details
Monoid PprColour #

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

Instance details

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

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