regular-0.2.3: Generic programming library for regular datatypes.

Portabilitynon-portable
Stabilityexperimental
Maintainergenerics@haskell.org

Generics.Regular.Functions.Show

Contents

Description

Summary: Generic show. This module is not exported by Generics.Regular.Functions to avoid clashes with Prelude.

Synopsis

Show function

class Show f whereSource

The Show class defines a show on values.

Methods

hshowsPrec :: (Int -> a -> ShowS) -> Bool -> Int -> f a -> ShowSSource

Instances

Show U 
Show I 
Show a => Show (K a) 
(Selector s, Show f) => Show (S s f) 
(Constructor c, Show f) => Show (C c f) 
(Show f, Show g) => Show (:*: f g) 
(Show f, Show g) => Show (:+: f g) 

show :: (Regular a, Show (PF a)) => a -> StringSource

shows :: (Regular a, Show (PF a)) => a -> ShowSSource