text-show-instances-3.9.10: Additional instances for text-show
Copyright(C) 2014-2017 Ryan Scott
LicenseBSD-style (see the file LICENSE)
MaintainerRyan Scott
StabilityProvisional
PortabilityGHC
Safe HaskellSafe-Inferred
LanguageHaskell2010

TextShow.Control.Monad.Trans

Description

TextShow instances for monad transformers.

Since: 2

Orphan instances

TextShow1 m => TextShow1 (MaybeT m) Source #

Since: 2

Instance details

Methods

liftShowbPrec :: (Int -> a -> Builder) -> ([a] -> Builder) -> Int -> MaybeT m a -> Builder #

liftShowbList :: (Int -> a -> Builder) -> ([a] -> Builder) -> [MaybeT m a] -> Builder #

(TextShow1 m, TextShow a) => TextShow (MaybeT m a) Source #

Since: 2

Instance details

Methods

showbPrec :: Int -> MaybeT m a -> Builder #

showb :: MaybeT m a -> Builder #

showbList :: [MaybeT m a] -> Builder #

showtPrec :: Int -> MaybeT m a -> Text #

showt :: MaybeT m a -> Text #

showtList :: [MaybeT m a] -> Text #

showtlPrec :: Int -> MaybeT m a -> Text #

showtl :: MaybeT m a -> Text #

showtlList :: [MaybeT m a] -> Text #

(TextShow e, TextShow1 m) => TextShow1 (ExceptT e m) Source #

Since: 2

Instance details

Methods

liftShowbPrec :: (Int -> a -> Builder) -> ([a] -> Builder) -> Int -> ExceptT e m a -> Builder #

liftShowbList :: (Int -> a -> Builder) -> ([a] -> Builder) -> [ExceptT e m a] -> Builder #

TextShow1 f => TextShow1 (IdentityT f) Source #

Since: 2

Instance details

Methods

liftShowbPrec :: (Int -> a -> Builder) -> ([a] -> Builder) -> Int -> IdentityT f a -> Builder #

liftShowbList :: (Int -> a -> Builder) -> ([a] -> Builder) -> [IdentityT f a] -> Builder #

(TextShow w, TextShow1 m) => TextShow1 (WriterT w m) Source #

Since: 2

Instance details

Methods

liftShowbPrec :: (Int -> a -> Builder) -> ([a] -> Builder) -> Int -> WriterT w m a -> Builder #

liftShowbList :: (Int -> a -> Builder) -> ([a] -> Builder) -> [WriterT w m a] -> Builder #

(TextShow w, TextShow1 m) => TextShow1 (WriterT w m) Source #

Since: 2

Instance details

Methods

liftShowbPrec :: (Int -> a -> Builder) -> ([a] -> Builder) -> Int -> WriterT w m a -> Builder #

liftShowbList :: (Int -> a -> Builder) -> ([a] -> Builder) -> [WriterT w m a] -> Builder #

(TextShow e, TextShow1 m, TextShow a) => TextShow (ExceptT e m a) Source #

Since: 2

Instance details

Methods

showbPrec :: Int -> ExceptT e m a -> Builder #

showb :: ExceptT e m a -> Builder #

showbList :: [ExceptT e m a] -> Builder #

showtPrec :: Int -> ExceptT e m a -> Text #

showt :: ExceptT e m a -> Text #

showtList :: [ExceptT e m a] -> Text #

showtlPrec :: Int -> ExceptT e m a -> Text #

showtl :: ExceptT e m a -> Text #

showtlList :: [ExceptT e m a] -> Text #

(TextShow1 f, TextShow a) => TextShow (IdentityT f a) Source #

Since: 2

Instance details

(TextShow w, TextShow1 m, TextShow a) => TextShow (WriterT w m a) Source #

Since: 2

Instance details

Methods

showbPrec :: Int -> WriterT w m a -> Builder #

showb :: WriterT w m a -> Builder #

showbList :: [WriterT w m a] -> Builder #

showtPrec :: Int -> WriterT w m a -> Text #

showt :: WriterT w m a -> Text #

showtList :: [WriterT w m a] -> Text #

showtlPrec :: Int -> WriterT w m a -> Text #

showtl :: WriterT w m a -> Text #

showtlList :: [WriterT w m a] -> Text #

(TextShow w, TextShow1 m, TextShow a) => TextShow (WriterT w m a) Source #

Since: 2

Instance details

Methods

showbPrec :: Int -> WriterT w m a -> Builder #

showb :: WriterT w m a -> Builder #

showbList :: [WriterT w m a] -> Builder #

showtPrec :: Int -> WriterT w m a -> Text #

showt :: WriterT w m a -> Text #

showtList :: [WriterT w m a] -> Text #

showtlPrec :: Int -> WriterT w m a -> Text #

showtl :: WriterT w m a -> Text #

showtlList :: [WriterT w m a] -> Text #