pire-0.2.5

Safe HaskellSafe
LanguageHaskell2010

PrettySize

Contents

Documentation

data PrettyFlavor Source #

Constructors

StringF 
NormalF 

mypunct :: Doc ann -> [Doc ann] -> Doc ann Source #

prettySVar :: Applicative f => SVar t -> [String] -> Int -> (t -> Int -> f (Doc ann)) -> f (Doc ann) Source #

_prettySize :: Applicative f => Size t -> [String] -> Int -> (t -> Int -> f (Doc ann)) -> PrettyFlavor -> f (Doc ann) Source #

prettySize :: Applicative f => Size t -> [String] -> Int -> (t -> Int -> f (Doc ann)) -> f (Doc ann) Source #

prettySize_ :: Applicative f => Size t -> [String] -> Int -> (t -> Int -> f (Doc ann)) -> f (Doc ann) Source #

Orphan instances

Pretty (Size String) Source # 
Instance details

Methods

pretty :: Size String -> Doc ann #

prettyList :: [Size String] -> Doc ann #

Pretty (Size Text) Source # 
Instance details

Methods

pretty :: Size Text -> Doc ann #

prettyList :: [Size Text] -> Doc ann #

PrettyAnn (Size String) Source # 
Instance details

PrettyAnn (Size Text) Source # 
Instance details