regular-0.3.4.4: Generic programming library for regular datatypes.

Copyright(c) 2008 Universiteit Utrecht
LicenseBSD3
Maintainergenerics@haskell.org
Stabilityexperimental
Portabilitynon-portable
Safe HaskellSafe-Inferred
LanguageHaskell98

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 where Source

The Show class defines a show on values.

Methods

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

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 -> String Source

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