Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- showsPrecSimple :: (Generic a, GShowSimple (Rep a)) => Int -> a -> ShowS
- newtype WrapSimple a = WrapSimple {
- unwrapSimple :: a
Documentation
showsPrecSimple :: (Generic a, GShowSimple (Rep a)) => Int -> a -> ShowS Source #
Like showsPrec
, but shows it as if their record fields are stripped
newtype WrapSimple a Source #
The Show
instance uses showsPrecSimple
. Useful in combination with DerivingVia
WrapSimple | |
|
Instances
(Generic a, GShowSimple (Rep a)) => Show (WrapSimple a) Source # | |
Defined in Deriving.Show.Simple showsPrec :: Int -> WrapSimple a -> ShowS # show :: WrapSimple a -> String # showList :: [WrapSimple a] -> ShowS # |