digestive-functors-0.0.1: A general way to consume input using applicative functors

Text.Digestive.Blaze.Html5

Synopsis

Documentation

type BlazeFormHtml = FormHtml HtmlSource

Form HTML generated by blaze

inputTextAreaSource

Arguments

:: (Monad m, Functor m) 
=> Maybe Int

Rows

-> Maybe Int

Columns

-> Maybe String

Default input

-> Form m String e BlazeFormHtml String

Result

inputRadioSource

Arguments

:: (Monad m, Functor m, Eq a) 
=> Bool

Use br tags

-> a

Default option

-> [(a, Html)]

Choices with their names

-> Form m String e BlazeFormHtml a

Resulting form