optparse-applicative-0.14.3.0: Utilities and combinators for parsing command line options

Safe HaskellSafe
LanguageHaskell98

Options.Applicative.Help.Pretty

Documentation

(<$$>) :: Doc -> Doc -> Doc #

(<+>) :: Doc -> Doc -> Doc #

(<//>) :: Doc -> Doc -> Doc #

(</>) :: Doc -> Doc -> Doc #

align :: Doc -> Doc #

angles :: Doc -> Doc #

black :: Doc -> Doc #

blue :: Doc -> Doc #

bold :: Doc -> Doc #

bool :: Bool -> Doc #

braces :: Doc -> Doc #

cat :: [Doc] -> Doc #

char :: Char -> Doc #

column :: (Int -> Doc) -> Doc #

cyan :: Doc -> Doc #

debold :: Doc -> Doc #

dot :: Doc #

enclose :: Doc -> Doc -> Doc -> Doc #

encloseSep :: Doc -> Doc -> Doc -> [Doc] -> Doc #

fill :: Int -> Doc -> Doc #

fillBreak :: Int -> Doc -> Doc #

fillCat :: [Doc] -> Doc #

fillSep :: [Doc] -> Doc #

flatAlt :: Doc -> Doc -> Doc #

green :: Doc -> Doc #

group :: Doc -> Doc #

hPutDoc :: Handle -> Doc -> IO () #

hang :: Int -> Doc -> Doc #

hcat :: [Doc] -> Doc #

hsep :: [Doc] -> Doc #

indent :: Int -> Doc -> Doc #

int :: Int -> Doc #

list :: [Doc] -> Doc #

nest :: Int -> Doc -> Doc #

nesting :: (Int -> Doc) -> Doc #

onblue :: Doc -> Doc #

oncyan :: Doc -> Doc #

onred :: Doc -> Doc #

parens :: Doc -> Doc #

plain :: Doc -> Doc #

punctuate :: Doc -> [Doc] -> [Doc] #

putDoc :: Doc -> IO () #

red :: Doc -> Doc #

sep :: [Doc] -> Doc #

tupled :: [Doc] -> Doc #

vcat :: [Doc] -> Doc #

vsep :: [Doc] -> Doc #

white :: Doc -> Doc #

width :: Doc -> (Int -> Doc) -> Doc #

yellow :: Doc -> Doc #

data Doc #

Instances
Show Doc 
Instance details

Defined in Text.PrettyPrint.ANSI.Leijen.Internal

IsString Doc 
Instance details

Defined in Text.PrettyPrint.ANSI.Leijen.Internal

Semigroup Doc 
Instance details

Defined in Text.PrettyPrint.ANSI.Leijen.Internal

Methods

(<>) :: Doc -> Doc -> Doc Source #

sconcat :: NonEmpty Doc -> Doc Source #

stimes :: Integral b => b -> Doc -> Doc Source #

Monoid Doc 
Instance details

Defined in Text.PrettyPrint.ANSI.Leijen.Internal

Pretty Doc 
Instance details

Defined in Text.PrettyPrint.ANSI.Leijen.Internal

Methods

pretty :: Doc -> Doc #

prettyList :: [Doc] -> Doc #

class Pretty a where #

Minimal complete definition

pretty

Methods

pretty :: a -> Doc #

prettyList :: [a] -> Doc #

Instances
Pretty Bool 
Instance details

Defined in Text.PrettyPrint.ANSI.Leijen.Internal

Methods

pretty :: Bool -> Doc #

prettyList :: [Bool] -> Doc #

Pretty Char 
Instance details

Defined in Text.PrettyPrint.ANSI.Leijen.Internal

Methods

pretty :: Char -> Doc #

prettyList :: [Char] -> Doc #

Pretty Double 
Instance details

Defined in Text.PrettyPrint.ANSI.Leijen.Internal

Methods

pretty :: Double -> Doc #

prettyList :: [Double] -> Doc #

Pretty Float 
Instance details

Defined in Text.PrettyPrint.ANSI.Leijen.Internal

Methods

pretty :: Float -> Doc #

prettyList :: [Float] -> Doc #

Pretty Int 
Instance details

Defined in Text.PrettyPrint.ANSI.Leijen.Internal

Methods

pretty :: Int -> Doc #

prettyList :: [Int] -> Doc #

Pretty Integer 
Instance details

Defined in Text.PrettyPrint.ANSI.Leijen.Internal

Methods

pretty :: Integer -> Doc #

prettyList :: [Integer] -> Doc #

Pretty () 
Instance details

Defined in Text.PrettyPrint.ANSI.Leijen.Internal

Methods

pretty :: () -> Doc #

prettyList :: [()] -> Doc #

Pretty Doc 
Instance details

Defined in Text.PrettyPrint.ANSI.Leijen.Internal

Methods

pretty :: Doc -> Doc #

prettyList :: [Doc] -> Doc #

Pretty a => Pretty [a] 
Instance details

Defined in Text.PrettyPrint.ANSI.Leijen.Internal

Methods

pretty :: [a] -> Doc #

prettyList :: [[a]] -> Doc #

Pretty a => Pretty (Maybe a) 
Instance details

Defined in Text.PrettyPrint.ANSI.Leijen.Internal

Methods

pretty :: Maybe a -> Doc #

prettyList :: [Maybe a] -> Doc #

(Pretty a, Pretty b) => Pretty (a, b) 
Instance details

Defined in Text.PrettyPrint.ANSI.Leijen.Internal

Methods

pretty :: (a, b) -> Doc #

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

(Pretty a, Pretty b, Pretty c) => Pretty (a, b, c) 
Instance details

Defined in Text.PrettyPrint.ANSI.Leijen.Internal

Methods

pretty :: (a, b, c) -> Doc #

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

(.$.) :: Doc -> Doc -> Doc Source #