Generic showsPrec.
instance Show MyType where
showsPrec = gshowsPrec
:: a typeCtrl KGHC 9.10.3 · lts/ghc-9.10.x · c74966e · 2026-09-27
Modulegeneric-data-1.1.0.2Haskell2010
Generic implementation of Show
This is an internal module: it is not subject to any versioning policy, breaking changes can happen at any time.
If something here seems useful, please report it or create a pull request to export it from an external module.
Generic showsPrec.
instance Show MyType where
showsPrec = gshowsPrec
Generic representation of Show types.
Generic liftShowsPrec.
Generic representation of Show1 types.
gPrecShows :: p (ShowsPrec a) -> f a -> PrecShowSGShow p V1Defined in generic-data-1.1.0.2 · Generic.Data.Internal.Show(GShow p f, GShow p g) => GShow p (f :+: g)Defined in generic-data-1.1.0.2 · Generic.Data.Internal.ShowGShow p f => GShow p (M1 D d f)Defined in generic-data-1.1.0.2 · Generic.Data.Internal.Show(Constructor c, GShowC p c f) => GShow p (M1 C c f)Defined in generic-data-1.1.0.2 · Generic.Data.Internal.ShowGShowFields p f => GShowC p ('MetaCons s y 'False) fDefined in generic-data-1.1.0.2 · Generic.Data.Internal.ShowGShowNamed p f => GShowC p ('MetaCons s y 'True) fDefined in generic-data-1.1.0.2 · Generic.Data.Internal.ShowgPrecShowsFields :: p (ShowsPrec a) -> f a -> [PrecShowS]GShowFields p U1Defined in generic-data-1.1.0.2 · Generic.Data.Internal.Show(GShowFields p f, GShowFields p g) => GShowFields p (f :*: g)Defined in generic-data-1.1.0.2 · Generic.Data.Internal.ShowGShowSingle p f => GShowFields p (M1 S c f)Defined in generic-data-1.1.0.2 · Generic.Data.Internal.ShowgPrecShowsNamed :: p (ShowsPrec a) -> f a -> ShowFieldsGShowNamed p U1Defined in generic-data-1.1.0.2 · Generic.Data.Internal.Show(GShowNamed p f, GShowNamed p g) => GShowNamed p (f :*: g)Defined in generic-data-1.1.0.2 · Generic.Data.Internal.Show(Selector c, GShowSingle p f) => GShowNamed p (M1 S c f)Defined in generic-data-1.1.0.2 · Generic.Data.Internal.ShowgPrecShowsSingle :: p (ShowsPrec a) -> f a -> PrecShowSGShowSingle Identity Par1Defined in generic-data-1.1.0.2 · Generic.Data.Internal.ShowShow1 f => GShowSingle Identity (Rec1 f)Defined in generic-data-1.1.0.2 · Generic.Data.Internal.ShowShow a => GShowSingle p (K1 i a)Defined in generic-data-1.1.0.2 · Generic.Data.Internal.Show(Show1 f, GShowSingle p g) => GShowSingle p (f :.: g)Defined in generic-data-1.1.0.2 · Generic.Data.Internal.Show