regular-0.2.1: Generic programming library for regular datatypes.
Source code
Contents
Index
Generics.Regular.Functions.Show
Portability
non-portable
Stability
experimental
Maintainer
generics@haskell.org
Contents
Show function
Description
Summary: Generic show. This module is not exported by
Generics.Regular.Functions
to avoid clashes with
Prelude
.
Synopsis
class
Show
f
where
hshowsPrec
:: (
Int
-> a ->
ShowS
) ->
Bool
->
Int
-> f a ->
ShowS
show
:: (
Regular
a,
Show
(
PF
a)) => a ->
String
shows
:: (
Regular
a,
Show
(
PF
a)) => a ->
ShowS
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
Produced by
Haddock
version 2.4.2