regular-web-0.1: Generic programming for the web
Source code
Contents
Index
Generics.Regular.Views
Portability
non-portable
Stability
experimental
Maintainer
[email protected]
Contents
Generic HTML generation.
Description
Summary: Functions for generating HTML.
Synopsis
ghtml
:: (
Regular
a,
GHtml
(
PF
a)) => a ->
Html
class
Html
a
where
html
:: a ->
Html
class
GHtml
f
Generic HTML generation.
ghtml
:: (
Regular
a,
GHtml
(
PF
a)) => a ->
Html
Source
The function
ghtml
converts an a value into
Html
class
Html
a
where
Source
The class
Html
converts a simple value a into
Html
.
Methods
html
:: a ->
Html
Source
Instances
Html
Bool
Html
Float
Html
Int
Html
String
class
GHtml
f
Source
The class
GHtml
converts a simple value a into
Html
.
Instances
GHtml
I
Html
a =>
GHtml
(
K
a)
(
GHtml
f,
GHtml
g) =>
GHtml
(
:+:
f g)
(
GHtml
f,
GHtml
g) =>
GHtml
(
:*:
f g)
(
Constructor
c,
GHtml
f) =>
GHtml
(
C
c f)
(
Selector
s,
GHtml
f) =>
GHtml
(
S
s f)
Produced by
Haddock
version 2.7.2