| Copyright | (C) 2014-2015 Ryan Scott |
|---|---|
| License | BSD-style (see the file LICENSE) |
| Maintainer | Ryan Scott |
| Stability | Experimental |
| Portability | GHC |
| Safe Haskell | None |
| Language | Haskell98 |
Text.Show.Text.GHC.Generics
Description
Monomorphic Show functions for generics-related data types.
This module is only available with base-4.4.0.0 or later.
Since: 0.3
- showbU1 :: U1 p -> Builder
- showbPar1Prec :: Show p => Int -> Par1 p -> Builder
- showbRec1Prec :: Show (f p) => Int -> Rec1 f p -> Builder
- showbK1Prec :: Show c => Int -> K1 i c p -> Builder
- showbM1Prec :: Show (f p) => Int -> M1 i c f p -> Builder
- showbSumTypePrec :: (Show (f p), Show (g p)) => Int -> (f :+: g) p -> Builder
- showbProductTypePrec :: (Show (f p), Show (g p)) => Int -> (f :*: g) p -> Builder
- showbCompFunctorsPrec :: Show (f (g p)) => Int -> (f :.: g) p -> Builder
- showbFixityPrec :: Int -> Fixity -> Builder
- showbAssociativity :: Associativity -> Builder
- showbArityPrec :: Int -> Arity -> Builder
Documentation
showbSumTypePrec :: (Show (f p), Show (g p)) => Int -> (f :+: g) p -> Builder Source
Convert a '(:+:)' value to a Builder with the given precedence.
This function is only available with base-4.4.0.0 or later.
Since: 0.3
showbProductTypePrec :: (Show (f p), Show (g p)) => Int -> (f :*: g) p -> Builder Source
Convert a '(:*:)' value to a Builder with the given precedence.
This function is only available with base-4.4.0.0 or later.
Since: 0.3
showbCompFunctorsPrec :: Show (f (g p)) => Int -> (f :.: g) p -> Builder Source
Convert a '(:.:)' value to a Builder with the given precedence.
This function is only available with base-4.4.0.0 or later.
Since: 0.3
showbFixityPrec :: Int -> Fixity -> Builder Source
showbAssociativity :: Associativity -> Builder Source
Convert an Associativity value to a Builder.
This function is only available with base-4.4.0.0 or later.
Since: 0.3