prologue-3.2.6: Better, more general Prelude exporting common utilities.

Safe HaskellNone
LanguageHaskell2010

Prologue.Text.Show.Styled

Documentation

class StyledShow style a where Source #

Methods

styledShow :: style -> a -> StyledShowOutput style Source #

Instances
StyledShow1 style a => StyledShow style (a t) Source # 
Instance details

Defined in Prologue.Text.Show.Styled

Methods

styledShow :: style -> a t -> StyledShowOutput style Source #

class StyledShow1 style a where Source #

Methods

styledShow1 :: forall t1. style -> a t1 -> StyledShowOutput style Source #

Instances
StyledShow2 style a => StyledShow1 style (a t) Source # 
Instance details

Defined in Prologue.Text.Show.Styled

Methods

styledShow1 :: style -> a t t1 -> StyledShowOutput style Source #

class StyledShow2 style a where Source #

Methods

styledShow2 :: forall t1 t2. style -> a t1 t2 -> StyledShowOutput style Source #

class StyledShowM style a m where Source #

Methods

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 # 
Instance details

Defined in Prologue.Text.Show.Styled

Methods

styledShowM :: style -> [a] -> m (StyledShowOutput style) Source #

StyledShowM1 style a m => StyledShowM style (a t) m Source # 
Instance details

Defined in Prologue.Text.Show.Styled

Methods

styledShowM :: style -> a t -> m (StyledShowOutput style) Source #

class StyledShowM1 style a m where Source #

Methods

styledShowM1 :: forall t1. style -> a t1 -> m (StyledShowOutput style) Source #

Instances
StyledShowM2 style a m => StyledShowM1 style (a t) m Source # 
Instance details

Defined in Prologue.Text.Show.Styled

Methods

styledShowM1 :: style -> a t t1 -> m (StyledShowOutput style) Source #

class StyledShowM2 style a m where Source #

Methods

styledShowM2 :: forall t1 t2. style -> a t1 t2 -> m (StyledShowOutput style) Source #

putLnFmtd :: MonadIO m => Text -> m () 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 #

prettyShow2 :: PrettyShow2 a => a t1 t2 -> Text Source #

prettyShowM2 :: PrettyShow2 a => a t1 t2 -> Text Source #