instant-generics-0.2: Generic programming library with a sum of products view

Portabilitynon-portable
Stabilityexperimental
Maintainergenerics@haskell.org

Generics.Instant.Functions.Show

Description

Simplified generic show function.

Documentation

class Show a whereSource

Methods

show' :: a -> StringSource

Instances

Show Bool 
Show Char 
Show Double 
Show Float 
Show Int 
Show Integer 
Show U 
Show [Char] 
Show a => Show [a] 
Show a => Show (Maybe a) 
Show a => Show (Rec a) 
Show a => Show (Var a) 
(Show a, Show b) => Show (a, b) 
(Show a, Constructor c) => Show (C c a) 
(Show a, Show b) => Show (:*: a b) 
(Show a, Show b) => Show (:+: a b) 

show :: (Representable a, Show (Rep a)) => a -> StringSource