formlets-0.1: Formlets implemented in Haskell
Source code
Contents
Index
Text.Formlets.Form
Documentation
type
Env
= [(
String
,
String
)]
Source
type
FormState
=
Names
Source
type
Names
=
Integer
Source
type
Name
=
String
Source
type
Xml
=
Html
Source
queryParam
::
Env
->
Name
->
String
Source
newtype
Form
a
Source
Constructors
Form
deform
::
Env
->
State
FormState
(
Collector
a,
Html
)
Instances
Functor
Form
Applicative
Form
type
Collector
a =
Env
-> a
Source
pureF
:: a ->
Form
a
Source
applyF
::
Form
(a -> b) ->
Form
a ->
Form
b
Source
freshName
::
State
FormState
String
Source
currentName
::
State
FormState
String
Source
xml
::
Html
->
Form
()
Source
text
::
String
->
Form
()
Source
plug
:: (
Xml
->
Xml
) ->
Form
a ->
Form
a
Source
Produced by
Haddock
version 2.3.0