Copyright | (C) 2014-2016 Ryan Scott |
---|---|
License | BSD-style (see the file LICENSE) |
Maintainer | Ryan Scott |
Stability | Provisional |
Portability | GHC |
Safe Haskell | None |
Language | Haskell2010 |
Monomorphic TextShow
functions for generics-related data types.
Since: 2
- showbU1 :: U1 p -> Builder
- liftShowbPar1Prec :: (Int -> p -> Builder) -> Int -> Par1 p -> Builder
- showbRec1Prec :: TextShow (f p) => Int -> Rec1 f p -> Builder
- liftShowbRec1Prec :: TextShow1 f => (Int -> p -> Builder) -> ([p] -> Builder) -> Int -> Rec1 f p -> Builder
- liftShowbK1Prec :: (Int -> c -> Builder) -> Int -> K1 i c p -> Builder
- showbM1Prec :: TextShow (f p) => Int -> M1 i c f p -> Builder
- liftShowbM1Prec :: TextShow1 f => (Int -> p -> Builder) -> ([p] -> Builder) -> Int -> M1 i c f p -> Builder
- showbSumTypePrec :: (TextShow (f p), TextShow (g p)) => Int -> (f :+: g) p -> Builder
- liftShowbSumTypePrec :: (TextShow1 f, TextShow1 g) => (Int -> p -> Builder) -> ([p] -> Builder) -> Int -> (f :+: g) p -> Builder
- showbProductTypePrec :: (TextShow (f p), TextShow (g p)) => Int -> (f :*: g) p -> Builder
- liftShowbProductTypePrec :: (TextShow1 f, TextShow1 g) => (Int -> p -> Builder) -> ([p] -> Builder) -> Int -> (f :*: g) p -> Builder
- showbCompFunctorsPrec :: TextShow (f (g p)) => Int -> (f :.: g) p -> Builder
- liftShowbCompFunctorsPrec :: (TextShow1 f, TextShow1 g) => (Int -> p -> Builder) -> ([p] -> Builder) -> Int -> (f :.: g) p -> Builder
- showbFixityPrec :: Int -> Fixity -> Builder
- showbAssociativity :: Associativity -> Builder
- showbSourceUnpackedness :: SourceUnpackedness -> Builder
- showbSourceStrictness :: SourceStrictness -> Builder
- showbDecidedStrictness :: DecidedStrictness -> Builder
- showbUCharPrec :: Int -> UChar p -> Builder
- showbUDoublePrec :: Int -> UDouble p -> Builder
- showbUFloatPrec :: Int -> UFloat p -> Builder
- showbUIntPrec :: Int -> UInt p -> Builder
- showbUWordPrec :: Int -> UWord p -> Builder
Documentation
liftShowbRec1Prec :: TextShow1 f => (Int -> p -> Builder) -> ([p] -> Builder) -> Int -> Rec1 f p -> Builder Source #
liftShowbM1Prec :: TextShow1 f => (Int -> p -> Builder) -> ([p] -> Builder) -> Int -> M1 i c f p -> Builder Source #
showbSumTypePrec :: (TextShow (f p), TextShow (g p)) => Int -> (f :+: g) p -> Builder Source #
Convert a '(:+:)' value to a Builder
with the given precedence.
Since: 2
liftShowbSumTypePrec :: (TextShow1 f, TextShow1 g) => (Int -> p -> Builder) -> ([p] -> Builder) -> Int -> (f :+: g) p -> Builder Source #
Convert a '(:+:)' value to a Builder
with the given show function and precedence.
Since: 3
showbProductTypePrec :: (TextShow (f p), TextShow (g p)) => Int -> (f :*: g) p -> Builder Source #
Convert a '(:*:)' value to a Builder
with the given precedence.
Since: 2
liftShowbProductTypePrec :: (TextShow1 f, TextShow1 g) => (Int -> p -> Builder) -> ([p] -> Builder) -> Int -> (f :*: g) p -> Builder Source #
Convert a '(:*:)' value to a Builder
with the given show function and precedence.
Since: 3
showbCompFunctorsPrec :: TextShow (f (g p)) => Int -> (f :.: g) p -> Builder Source #
Convert a '(:.:)' value to a Builder
with the given precedence.
Since: 2
liftShowbCompFunctorsPrec :: (TextShow1 f, TextShow1 g) => (Int -> p -> Builder) -> ([p] -> Builder) -> Int -> (f :.: g) p -> Builder Source #
Convert a '(:.:)' value to a Builder
with the given show function and precedence.
Since: 3
showbAssociativity :: Associativity -> Builder Source #
Convert an Associativity
value to a Builder
.
Since: 2
showbSourceUnpackedness :: SourceUnpackedness -> Builder Source #
Convert a SourceUnpackedness
value to a Builder
.
This function is only available with base-4.9.0.0
or later.
Since: 3
showbSourceStrictness :: SourceStrictness -> Builder Source #
Convert a SourceStrictness
value to a Builder
.
This function is only available with base-4.9.0.0
or later.
Since: 3
showbDecidedStrictness :: DecidedStrictness -> Builder Source #
Convert a DecidedStrictness
value to a Builder
.
This function is only available with base-4.9.0.0
or later.
Since: 3