formlets-0.1: Formlets implemented in HaskellSource codeContentsIndex
Text.Formlets.Form
Documentation
type Env = [(String, String)]Source
type FormState = NamesSource
type Names = IntegerSource
type Name = StringSource
type Xml = HtmlSource
queryParam :: Env -> Name -> StringSource
newtype Form a Source
Constructors
Form
deform :: Env -> State FormState (Collector a, Html)
show/hide Instances
type Collector a = Env -> aSource
pureF :: a -> Form aSource
applyF :: Form (a -> b) -> Form a -> Form bSource
freshName :: State FormState StringSource
currentName :: State FormState StringSource
xml :: Html -> Form ()Source
text :: String -> Form ()Source
plug :: (Xml -> Xml) -> Form a -> Form aSource
Produced by Haddock version 2.3.0