generic-deriving-1.6.3: Generic programming library for generalised deriving.

Safe HaskellNone

Generics.Deriving.Show

Contents

Synopsis

Generic show class

class GShow a whereSource

Methods

gshowsPrec :: Int -> a -> ShowSSource

gshows :: a -> ShowSSource

gshow :: a -> StringSource

Instances

GShow Bool 
GShow Char 
GShow Float 
GShow Int 
GShow String 
GShow a => GShow [a] 
GShow a => GShow (Maybe a) 

Default definition

gshowsPrecdefault :: (Generic a, GShow' (Rep a)) => Int -> a -> ShowSSource