rio-prettyprint-0.1.1.0: Pretty-printing for RIO
Safe HaskellSafe-Inferred
LanguageHaskell2010

RIO.PrettyPrint.Types

Description

For the most part, the data constructors of Style do not clash with other names. When they do, import the module qualified. For example:

import qualified RIO.PrettyPrint.Types.PrettyPrint as PP
Synopsis

Documentation

data Style Source #

A style of rio-prettyprint's output.

Instances

Instances details
Semigroup Style Source #

The first style overrides the second.

Instance details

Defined in RIO.PrettyPrint.Types

Bounded Style Source # 
Instance details

Defined in RIO.PrettyPrint.Types

Enum Style Source # 
Instance details

Defined in RIO.PrettyPrint.Types

Ix Style Source # 
Instance details

Defined in RIO.PrettyPrint.Types

Show Style Source # 
Instance details

Defined in RIO.PrettyPrint.Types

Eq Style Source # 
Instance details

Defined in RIO.PrettyPrint.Types

Methods

(==) :: Style -> Style -> Bool Source #

(/=) :: Style -> Style -> Bool Source #

Ord Style Source # 
Instance details

Defined in RIO.PrettyPrint.Types

type Styles = Array Style StyleSpec Source #

Style specifications indexed by the style.

type StyleSpec = (Text, [SGR]) Source #

A style specification, pairing its 'key' with the corresponding list of SGR codes.