Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
type family StyledShowOutput style Source #
Instances
type StyledShowOutput PrettyShowStyle Source # | |
Defined in Prologue.Text.Show.Styled | |
type StyledShowOutput StructShowStyle Source # | |
Defined in Prologue.Text.Show.Styled |
class StyledShow style a where Source #
styledShow :: style -> a -> StyledShowOutput style Source #
Instances
StyledShow1 style a => StyledShow style (a t) Source # | |
Defined in Prologue.Text.Show.Styled styledShow :: style -> a t -> StyledShowOutput style Source # |
class StyledShow1 style a where Source #
styledShow1 :: forall t1. style -> a t1 -> StyledShowOutput style Source #
Instances
StyledShow2 style a => StyledShow1 style (a t) Source # | |
Defined in Prologue.Text.Show.Styled styledShow1 :: style -> a t t1 -> StyledShowOutput style Source # |
class StyledShow2 style a where Source #
styledShow2 :: forall t1 t2. style -> a t1 t2 -> StyledShowOutput style Source #
class StyledShowM style a m where Source #
styledShowM :: style -> a -> m (StyledShowOutput style) Source #
Instances
(out ~ StyledShowOutput style, Monad m, Monoid out, IsString out, StyledShowM style a m) => StyledShowM style [a] m Source # | |
Defined in Prologue.Text.Show.Styled styledShowM :: style -> [a] -> m (StyledShowOutput style) Source # | |
StyledShowM1 style a m => StyledShowM style (a t) m Source # | |
Defined in Prologue.Text.Show.Styled styledShowM :: style -> a t -> m (StyledShowOutput style) Source # |
class StyledShowM1 style a m where Source #
styledShowM1 :: forall t1. style -> a t1 -> m (StyledShowOutput style) Source #
Instances
StyledShowM2 style a m => StyledShowM1 style (a t) m Source # | |
Defined in Prologue.Text.Show.Styled styledShowM1 :: style -> a t t1 -> m (StyledShowOutput style) Source # |
class StyledShowM2 style a m where Source #
styledShowM2 :: forall t1 t2. style -> a t1 t2 -> m (StyledShowOutput style) Source #
data StructShowStyle Source #
Instances
Show StructShowStyle Source # | |
Defined in Prologue.Text.Show.Styled showsPrec :: Int -> StructShowStyle -> ShowS # show :: StructShowStyle -> String # showList :: [StructShowStyle] -> ShowS # | |
type StyledShowOutput StructShowStyle Source # | |
Defined in Prologue.Text.Show.Styled |
type StructShow = StyledShow StructShowStyle Source #
type StructShow1 = StyledShow1 StructShowStyle Source #
type StructShow2 = StyledShow2 StructShowStyle Source #
type StructShowM = StyledShowM StructShowStyle Source #
structShow :: StructShow a => a -> Text Source #
structShow1 :: StructShow1 a => a t1 -> Text Source #
structShow2 :: StructShow2 a => a t1 t2 -> Text Source #
showM :: StructShowM a m => a -> m Text Source #
showM1 :: StructShowM1 a m => a t1 -> m Text Source #
showM2 :: StructShowM2 a m => a t1 t2 -> m Text Source #
data PrettyShowStyle Source #
Instances
Show PrettyShowStyle Source # | |
Defined in Prologue.Text.Show.Styled showsPrec :: Int -> PrettyShowStyle -> ShowS # show :: PrettyShowStyle -> String # showList :: [PrettyShowStyle] -> ShowS # | |
type StyledShowOutput PrettyShowStyle Source # | |
Defined in Prologue.Text.Show.Styled |
type PrettyShow = StyledShow PrettyShowStyle Source #
type PrettyShow1 = StyledShow1 PrettyShowStyle Source #
type PrettyShow2 = StyledShow2 PrettyShowStyle Source #
type PrettyShowM = StyledShowM PrettyShowStyle Source #
prettyShow :: PrettyShow a => a -> Text Source #
prettyShow1 :: PrettyShow1 a => a t1 -> Text Source #
prettyShow2 :: PrettyShow2 a => a t1 t2 -> Text Source #
prettyShowM :: PrettyShow a => a -> Text Source #
prettyShowM1 :: PrettyShow1 a => a t1 -> Text Source #
prettyShowM2 :: PrettyShow2 a => a t1 t2 -> Text Source #