ansi-pretty-0.1.2.1: AnsiPretty for ansi-wl-pprint

LicenseBSD3
MaintainerOleg Grenrus <oleg.grenrus@iki.fi>
Safe HaskellNone
LanguageHaskell2010

Text.PrettyPrint.ANSI.Leijen.AnsiPretty

Contents

Description

 

Synopsis

Class

class AnsiPretty a where Source #

Generically derivable colorful analogue of Pretty

Instances

AnsiPretty Bool Source # 
AnsiPretty Char Source # 
AnsiPretty Double Source # 
AnsiPretty Float Source # 
AnsiPretty Int Source # 
AnsiPretty Int8 Source # 
AnsiPretty Int16 Source # 
AnsiPretty Int32 Source # 
AnsiPretty Int64 Source # 
AnsiPretty Integer Source # 
AnsiPretty Word Source # 
AnsiPretty Word8 Source # 
AnsiPretty Word16 Source # 
AnsiPretty Word32 Source # 
AnsiPretty Word64 Source # 
AnsiPretty Scientific Source # 
AnsiPretty Text Source # 
AnsiPretty UTCTime Source # 
AnsiPretty Value Source # 
AnsiPretty Doc Source # 
AnsiPretty Text Source # 
AnsiPretty Natural Source # 
AnsiPretty All Source # 
AnsiPretty Any Source # 
AnsiPretty IntSet Source # 
AnsiPretty LocalTime Source # 
AnsiPretty ZonedTime Source # 
AnsiPretty TimeOfDay Source # 
AnsiPretty TimeZone Source # 
AnsiPretty NominalDiffTime Source # 
AnsiPretty Day Source # 
AnsiPretty DiffTime Source # 
AnsiPretty a => AnsiPretty [a] Source # 

Methods

ansiPretty :: [a] -> Doc Source #

ansiPrettyList :: [[a]] -> Doc Source #

AnsiPretty a => AnsiPretty (Maybe a) Source # 
(AnsiPretty a, Integral a) => AnsiPretty (Ratio a) Source # 
AnsiPretty a => AnsiPretty (Min a) Source # 
AnsiPretty a => AnsiPretty (Max a) Source # 
AnsiPretty a => AnsiPretty (First a) Source # 
AnsiPretty a => AnsiPretty (Last a) Source # 
AnsiPretty m => AnsiPretty (WrappedMonoid m) Source # 
AnsiPretty a => AnsiPretty (Option a) Source # 
AnsiPretty a => AnsiPretty (NonEmpty a) Source # 
HasResolution e => AnsiPretty (Fixed e) Source # 
AnsiPretty a => AnsiPretty (Dual a) Source # 
AnsiPretty a => AnsiPretty (Sum a) Source # 
AnsiPretty a => AnsiPretty (Product a) Source # 
AnsiPretty v => AnsiPretty (IntMap v) Source # 
AnsiPretty a => AnsiPretty (Seq a) Source # 
AnsiPretty a => AnsiPretty (Set a) Source # 
AnsiPretty a => AnsiPretty (HashSet a) Source # 
AnsiPretty a => AnsiPretty (Vector a) Source # 
(AnsiPretty a, Storable a) => AnsiPretty (Vector a) Source # 
(AnsiPretty a, Unbox a) => AnsiPretty (Vector a) Source # 
AnsiPretty a => AnsiPretty (CommonPrefix a) Source # 
(AnsiPretty a, AnsiPretty b) => AnsiPretty (Either a b) Source # 
(AnsiPretty a, AnsiPretty b) => AnsiPretty (a, b) Source # 

Methods

ansiPretty :: (a, b) -> Doc Source #

ansiPrettyList :: [(a, b)] -> Doc Source #

(AnsiPretty k, AnsiPretty v) => AnsiPretty (HashMap k v) Source # 
(AnsiPretty k, AnsiPretty v) => AnsiPretty (Map k v) Source # 

Methods

ansiPretty :: Map k v -> Doc Source #

ansiPrettyList :: [Map k v] -> Doc Source #

(AnsiPretty i, AnsiPretty e, Ix i, IArray UArray e) => AnsiPretty (UArray i e) Source # 
(AnsiPretty i, AnsiPretty e, Ix i) => AnsiPretty (Array i e) Source # 

Methods

ansiPretty :: Array i e -> Doc Source #

ansiPrettyList :: [Array i e] -> Doc Source #

(AnsiPretty a, AnsiPretty b) => AnsiPretty (Arg a b) Source # 

Methods

ansiPretty :: Arg a b -> Doc Source #

ansiPrettyList :: [Arg a b] -> Doc Source #

(AnsiPretty a, AnsiPretty b, AnsiPretty c) => AnsiPretty (a, b, c) Source # 

Methods

ansiPretty :: (a, b, c) -> Doc Source #

ansiPrettyList :: [(a, b, c)] -> Doc Source #

AnsiPretty a => AnsiPretty (Tagged k t a) Source # 

Methods

ansiPretty :: Tagged k t a -> Doc Source #

ansiPrettyList :: [Tagged k t a] -> Doc Source #

(AnsiPretty a, AnsiPretty b, AnsiPretty c, AnsiPretty d) => AnsiPretty (a, b, c, d) Source # 

Methods

ansiPretty :: (a, b, c, d) -> Doc Source #

ansiPrettyList :: [(a, b, c, d)] -> Doc Source #

(AnsiPretty a, AnsiPretty b, AnsiPretty c, AnsiPretty d, AnsiPretty e) => AnsiPretty (a, b, c, d, e) Source # 

Methods

ansiPretty :: (a, b, c, d, e) -> Doc Source #

ansiPrettyList :: [(a, b, c, d, e)] -> Doc Source #

Generics

GHC

ghcAnsiPretty :: forall a. (Generic a, All2 AnsiPretty (GCode a), GFrom a, GDatatypeInfo a, SListI (GCode a)) => a -> Doc Source #

SOP

Options

Re-exports

From generics-sop

type ConstructorName = String #

The name of a data constructor.

type FieldName = String #

The name of a field / record selector.