| Safe Haskell | Safe |
|---|---|
| Language | Haskell2010 |
Generic.Data.Internal.Show
Synopsis
- gshowsPrec :: (Generic a, GShow0 (Rep a)) => Int -> a -> ShowS
- gprecShows :: (Generic a, GShow0 (Rep a)) => a -> PrecShowS
- type GShow0 = GShow Proxy
- gliftShowsPrec :: (Generic1 f, GShow1 (Rep1 f)) => (Int -> a -> ShowS) -> ([a] -> ShowS) -> Int -> f a -> ShowS
- gLiftPrecShows :: GShow1 f => (Int -> a -> ShowS) -> ([a] -> ShowS) -> f a -> PrecShowS
- type ShowsPrec a = (Int -> a -> ShowS, [a] -> ShowS)
- type GShow1 = GShow Identity
- class GShow p f where
- class GShowC p c f where
- class GShowFields p f where
- class GShowNamed p f where
- class GShowSingle p f where
Documentation
gshowsPrec :: (Generic a, GShow0 (Rep a)) => Int -> a -> ShowS Source #
Generic showsPrec.
instanceShowMyType whereshowsPrec=gshowsPrec
gliftShowsPrec :: (Generic1 f, GShow1 (Rep1 f)) => (Int -> a -> ShowS) -> ([a] -> ShowS) -> Int -> f a -> ShowS Source #
Generic liftShowsPrec.
class GShow p f where Source #
Minimal complete definition
Methods
gPrecShows :: p (ShowsPrec a) -> f a -> PrecShowS Source #
Instances
| GShow p (V1 :: * -> *) Source # | |
Defined in Generic.Data.Internal.Show | |
| (GShow p f, GShow p g) => GShow p (f :+: g) Source # | |
Defined in Generic.Data.Internal.Show | |
| (Constructor c, GShowC p c f) => GShow p (M1 C c f) Source # | |
Defined in Generic.Data.Internal.Show | |
| GShow p f => GShow p (M1 D d f) Source # | |
Defined in Generic.Data.Internal.Show | |
class GShowC p c f where Source #
Minimal complete definition
class GShowFields p f where Source #
Minimal complete definition
Methods
gPrecShowsFields :: p (ShowsPrec a) -> f a -> [PrecShowS] Source #
Instances
| GShowFields p (U1 :: * -> *) Source # | |
Defined in Generic.Data.Internal.Show | |
| (GShowFields p f, GShowFields p g) => GShowFields p (f :*: g) Source # | |
Defined in Generic.Data.Internal.Show | |
| GShowSingle p f => GShowFields p (M1 S c f) Source # | |
Defined in Generic.Data.Internal.Show | |
class GShowNamed p f where Source #
Minimal complete definition
Methods
gPrecShowsNamed :: p (ShowsPrec a) -> f a -> ShowFields Source #
Instances
| GShowNamed p (U1 :: * -> *) Source # | |
Defined in Generic.Data.Internal.Show Methods gPrecShowsNamed :: p (ShowsPrec a) -> U1 a -> ShowFields Source # | |
| (GShowNamed p f, GShowNamed p g) => GShowNamed p (f :*: g) Source # | |
Defined in Generic.Data.Internal.Show Methods gPrecShowsNamed :: p (ShowsPrec a) -> (f :*: g) a -> ShowFields Source # | |
| (Selector c, GShowSingle p f) => GShowNamed p (M1 S c f) Source # | |
Defined in Generic.Data.Internal.Show Methods gPrecShowsNamed :: p (ShowsPrec a) -> M1 S c f a -> ShowFields Source # | |
class GShowSingle p f where Source #
Minimal complete definition
Methods
gPrecShowsSingle :: p (ShowsPrec a) -> f a -> PrecShowS Source #
Instances
| GShowSingle Identity Par1 Source # | |
Defined in Generic.Data.Internal.Show | |
| Show1 f => GShowSingle Identity (Rec1 f) Source # | |
Defined in Generic.Data.Internal.Show | |
| Show a => GShowSingle p (K1 i a :: * -> *) Source # | |
Defined in Generic.Data.Internal.Show | |
| (GShowSingle Identity f, GShowSingle p g) => GShowSingle p (f :.: g) Source # | |
Defined in Generic.Data.Internal.Show | |