text-show-instances-3.8: Additional instances for text-show

Copyright(C) 2014-2017 Ryan Scott
LicenseBSD-style (see the file LICENSE)
MaintainerRyan Scott
StabilityProvisional
PortabilityGHC
Safe HaskellNone
LanguageHaskell2010

TextShow.Data.Functor.Trans

Contents

Description

TextShow instances for functor transformers.

Note that :

  • An instance for Identity is found in text-show, since it is a part of base-4.8.0.0 and later.
  • Instances for Compose, Product, and Sum are found in text-show, since they are part of base-4.9.0.0 and later.

Since: 2

Orphan instances

TextShow2 (Constant :: Type -> Type -> Type) Source #

Since: 2

Instance details

Methods

liftShowbPrec2 :: (Int -> a -> Builder) -> ([a] -> Builder) -> (Int -> b -> Builder) -> ([b] -> Builder) -> Int -> Constant a b -> Builder #

liftShowbList2 :: (Int -> a -> Builder) -> ([a] -> Builder) -> (Int -> b -> Builder) -> ([b] -> Builder) -> [Constant a b] -> Builder #

TextShow1 f => TextShow1 (Reverse f) Source #

Since: 2

Instance details

Methods

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

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

TextShow a => TextShow1 (Constant a :: Type -> Type) Source #

Since: 2

Instance details

Methods

liftShowbPrec :: (Int -> a0 -> Builder) -> ([a0] -> Builder) -> Int -> Constant a a0 -> Builder #

liftShowbList :: (Int -> a0 -> Builder) -> ([a0] -> Builder) -> [Constant a a0] -> Builder #

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

Since: 2

Instance details

Methods

showbPrec :: Int -> Reverse f a -> Builder #

showb :: Reverse f a -> Builder #

showbList :: [Reverse f a] -> Builder #

showtPrec :: Int -> Reverse f a -> Text #

showt :: Reverse f a -> Text #

showtList :: [Reverse f a] -> Text #

showtlPrec :: Int -> Reverse f a -> Text #

showtl :: Reverse f a -> Text #

showtlList :: [Reverse f a] -> Text #

TextShow a => TextShow (Constant a b) Source #

Since: 2

Instance details

Methods

showbPrec :: Int -> Constant a b -> Builder #

showb :: Constant a b -> Builder #

showbList :: [Constant a b] -> Builder #

showtPrec :: Int -> Constant a b -> Text #

showt :: Constant a b -> Text #

showtList :: [Constant a b] -> Text #

showtlPrec :: Int -> Constant a b -> Text #

showtl :: Constant a b -> Text #

showtlList :: [Constant a b] -> Text #