Copyright | (C) 2014-2017 Ryan Scott |
---|---|
License | BSD-style (see the file LICENSE) |
Maintainer | Ryan Scott |
Stability | Provisional |
Portability | GHC |
Safe Haskell | None |
Language | Haskell2010 |
TextShow.GHC.Generics
Contents
Description
TextShow
instances for generics-related data types.
Since: 2
Orphan instances
TextShow1 Par1 Source # | Since: 2 |
TextShow SourceUnpackedness Source # | Only available with Since: 3 |
Methods showbPrec :: Int -> SourceUnpackedness -> Builder Source # showb :: SourceUnpackedness -> Builder Source # showbList :: [SourceUnpackedness] -> Builder Source # showtPrec :: Int -> SourceUnpackedness -> Text Source # showt :: SourceUnpackedness -> Text Source # showtList :: [SourceUnpackedness] -> Text Source # showtlPrec :: Int -> SourceUnpackedness -> Text Source # showtl :: SourceUnpackedness -> Text Source # showtlList :: [SourceUnpackedness] -> Text Source # | |
TextShow SourceStrictness Source # | Only available with Since: 3 |
Methods showbPrec :: Int -> SourceStrictness -> Builder Source # showb :: SourceStrictness -> Builder Source # showbList :: [SourceStrictness] -> Builder Source # showtPrec :: Int -> SourceStrictness -> Text Source # showt :: SourceStrictness -> Text Source # showtList :: [SourceStrictness] -> Text Source # showtlPrec :: Int -> SourceStrictness -> Text Source # showtl :: SourceStrictness -> Text Source # showtlList :: [SourceStrictness] -> Text Source # | |
TextShow Fixity Source # | Since: 2 |
Methods showbPrec :: Int -> Fixity -> Builder Source # showb :: Fixity -> Builder Source # showbList :: [Fixity] -> Builder Source # showtPrec :: Int -> Fixity -> Text Source # showt :: Fixity -> Text Source # showtList :: [Fixity] -> Text Source # showtlPrec :: Int -> Fixity -> Text Source # showtl :: Fixity -> Text Source # showtlList :: [Fixity] -> Text Source # | |
TextShow DecidedStrictness Source # | Only available with Since: 3 |
Methods showbPrec :: Int -> DecidedStrictness -> Builder Source # showb :: DecidedStrictness -> Builder Source # showbList :: [DecidedStrictness] -> Builder Source # showtPrec :: Int -> DecidedStrictness -> Text Source # showt :: DecidedStrictness -> Text Source # showtList :: [DecidedStrictness] -> Text Source # showtlPrec :: Int -> DecidedStrictness -> Text Source # showtl :: DecidedStrictness -> Text Source # showtlList :: [DecidedStrictness] -> Text Source # | |
TextShow Associativity Source # | Since: 2 |
Methods showbPrec :: Int -> Associativity -> Builder Source # showb :: Associativity -> Builder Source # showbList :: [Associativity] -> Builder Source # showtPrec :: Int -> Associativity -> Text Source # showt :: Associativity -> Text Source # showtList :: [Associativity] -> Text Source # showtlPrec :: Int -> Associativity -> Text Source # showtl :: Associativity -> Text Source # showtlList :: [Associativity] -> Text Source # | |
TextShow1 (U1 :: Type -> Type) Source # | Since: 2 |
TextShow p => TextShow (Par1 p) Source # | Since: 2 |
Methods showbPrec :: Int -> Par1 p -> Builder Source # showb :: Par1 p -> Builder Source # showbList :: [Par1 p] -> Builder Source # showtPrec :: Int -> Par1 p -> Text Source # showt :: Par1 p -> Text Source # showtList :: [Par1 p] -> Text Source # showtlPrec :: Int -> Par1 p -> Text Source # showtl :: Par1 p -> Text Source # showtlList :: [Par1 p] -> Text Source # | |
TextShow2 (K1 i :: Type -> Type -> Type) Source # | Since: 2 |
TextShow1 f => TextShow1 (Rec1 f) Source # | Since: 2 |
TextShow1 (URec Char :: Type -> Type) Source # | Since: 2.1.2 |
TextShow1 (URec Double :: Type -> Type) Source # | Since: 2.1.2 |
TextShow1 (URec Float :: Type -> Type) Source # | Since: 2.1.2 |
TextShow1 (URec Int :: Type -> Type) Source # | Since: 2.1.2 |
TextShow1 (URec Word :: Type -> Type) Source # | Since: 2.1.2 |
TextShow (U1 p) Source # | Since: 2 |
Methods showbPrec :: Int -> U1 p -> Builder Source # showb :: U1 p -> Builder Source # showbList :: [U1 p] -> Builder Source # showtPrec :: Int -> U1 p -> Text Source # showt :: U1 p -> Text Source # showtList :: [U1 p] -> Text Source # showtlPrec :: Int -> U1 p -> Text Source # showtl :: U1 p -> Text Source # showtlList :: [U1 p] -> Text Source # | |
TextShow (UChar p) Source # | Since: 2.1.2 |
Methods showbPrec :: Int -> UChar p -> Builder Source # showb :: UChar p -> Builder Source # showbList :: [UChar p] -> Builder Source # showtPrec :: Int -> UChar p -> Text Source # showt :: UChar p -> Text Source # showtList :: [UChar p] -> Text Source # showtlPrec :: Int -> UChar p -> Text Source # showtl :: UChar p -> Text Source # showtlList :: [UChar p] -> Text Source # | |
TextShow (UDouble p) Source # | Since: 2.1.2 |
Methods showbPrec :: Int -> UDouble p -> Builder Source # showb :: UDouble p -> Builder Source # showbList :: [UDouble p] -> Builder Source # showtPrec :: Int -> UDouble p -> Text Source # showt :: UDouble p -> Text Source # showtList :: [UDouble p] -> Text Source # showtlPrec :: Int -> UDouble p -> Text Source # showtl :: UDouble p -> Text Source # showtlList :: [UDouble p] -> Text Source # | |
TextShow (UFloat p) Source # | Since: 2.1.2 |
Methods showbPrec :: Int -> UFloat p -> Builder Source # showb :: UFloat p -> Builder Source # showbList :: [UFloat p] -> Builder Source # showtPrec :: Int -> UFloat p -> Text Source # showt :: UFloat p -> Text Source # showtList :: [UFloat p] -> Text Source # showtlPrec :: Int -> UFloat p -> Text Source # showtl :: UFloat p -> Text Source # showtlList :: [UFloat p] -> Text Source # | |
TextShow (UInt p) Source # | Since: 2.1.2 |
Methods showbPrec :: Int -> UInt p -> Builder Source # showb :: UInt p -> Builder Source # showbList :: [UInt p] -> Builder Source # showtPrec :: Int -> UInt p -> Text Source # showt :: UInt p -> Text Source # showtList :: [UInt p] -> Text Source # showtlPrec :: Int -> UInt p -> Text Source # showtl :: UInt p -> Text Source # showtlList :: [UInt p] -> Text Source # | |
TextShow (UWord p) Source # | Since: 2.1.2 |
Methods showbPrec :: Int -> UWord p -> Builder Source # showb :: UWord p -> Builder Source # showbList :: [UWord p] -> Builder Source # showtPrec :: Int -> UWord p -> Text Source # showt :: UWord p -> Text Source # showtList :: [UWord p] -> Text Source # showtlPrec :: Int -> UWord p -> Text Source # showtl :: UWord p -> Text Source # showtlList :: [UWord p] -> Text Source # | |
TextShow c => TextShow1 (K1 i c :: Type -> Type) Source # | Since: 2 |
(TextShow1 f, TextShow1 g) => TextShow1 (f :+: g) Source # | Since: 2 |
(TextShow1 f, TextShow1 g) => TextShow1 (f :*: g) Source # | Since: 2 |
TextShow (f p) => TextShow (Rec1 f p) Source # | Since: 2 |
Methods showbPrec :: Int -> Rec1 f p -> Builder Source # showb :: Rec1 f p -> Builder Source # showbList :: [Rec1 f p] -> Builder Source # showtPrec :: Int -> Rec1 f p -> Text Source # showt :: Rec1 f p -> Text Source # showtList :: [Rec1 f p] -> Text Source # showtlPrec :: Int -> Rec1 f p -> Text Source # showtl :: Rec1 f p -> Text Source # showtlList :: [Rec1 f p] -> Text Source # | |
TextShow1 f => TextShow1 (M1 i c f) Source # | Since: 2 |
(TextShow1 f, TextShow1 g) => TextShow1 (f :.: g) Source # | Since: 2 |
TextShow c => TextShow (K1 i c p) Source # | Since: 2 |
Methods showbPrec :: Int -> K1 i c p -> Builder Source # showb :: K1 i c p -> Builder Source # showbList :: [K1 i c p] -> Builder Source # showtPrec :: Int -> K1 i c p -> Text Source # showt :: K1 i c p -> Text Source # showtList :: [K1 i c p] -> Text Source # showtlPrec :: Int -> K1 i c p -> Text Source # showtl :: K1 i c p -> Text Source # showtlList :: [K1 i c p] -> Text Source # | |
(TextShow (f p), TextShow (g p)) => TextShow ((f :+: g) p) Source # | Since: 2 |
Methods showbPrec :: Int -> (f :+: g) p -> Builder Source # showb :: (f :+: g) p -> Builder Source # showbList :: [(f :+: g) p] -> Builder Source # showtPrec :: Int -> (f :+: g) p -> Text Source # showt :: (f :+: g) p -> Text Source # showtList :: [(f :+: g) p] -> Text Source # showtlPrec :: Int -> (f :+: g) p -> Text Source # showtl :: (f :+: g) p -> Text Source # showtlList :: [(f :+: g) p] -> Text Source # | |
(TextShow (f p), TextShow (g p)) => TextShow ((f :*: g) p) Source # | Since: 2 |
Methods showbPrec :: Int -> (f :*: g) p -> Builder Source # showb :: (f :*: g) p -> Builder Source # showbList :: [(f :*: g) p] -> Builder Source # showtPrec :: Int -> (f :*: g) p -> Text Source # showt :: (f :*: g) p -> Text Source # showtList :: [(f :*: g) p] -> Text Source # showtlPrec :: Int -> (f :*: g) p -> Text Source # showtl :: (f :*: g) p -> Text Source # showtlList :: [(f :*: g) p] -> Text Source # | |
TextShow (f p) => TextShow (M1 i c f p) Source # | Since: 2 |
Methods showbPrec :: Int -> M1 i c f p -> Builder Source # showb :: M1 i c f p -> Builder Source # showbList :: [M1 i c f p] -> Builder Source # showtPrec :: Int -> M1 i c f p -> Text Source # showt :: M1 i c f p -> Text Source # showtList :: [M1 i c f p] -> Text Source # showtlPrec :: Int -> M1 i c f p -> Text Source # showtl :: M1 i c f p -> Text Source # showtlList :: [M1 i c f p] -> Text Source # | |
TextShow (f (g p)) => TextShow ((f :.: g) p) Source # | Since: 2 |
Methods showbPrec :: Int -> (f :.: g) p -> Builder Source # showb :: (f :.: g) p -> Builder Source # showbList :: [(f :.: g) p] -> Builder Source # showtPrec :: Int -> (f :.: g) p -> Text Source # showt :: (f :.: g) p -> Text Source # showtList :: [(f :.: g) p] -> Text Source # showtlPrec :: Int -> (f :.: g) p -> Text Source # showtl :: (f :.: g) p -> Text Source # showtlList :: [(f :.: g) p] -> Text Source # |