Safe Haskell | Safe |
---|---|
Language | Haskell98 |
Descriptive.Formlet
Contents
Description
Validating indexed formlet with auto-generated input names.
Synopsis
- indexed :: Monad m => Consumer FormletState Formlet m Text
- data FormletState = FormletState {
- formletMap :: Map Integer Text
- formletIndex :: !Integer
- data Formlet
- = Index !Integer
- | Constrained !Text
Combinators
data FormletState Source #
State used when running a formlet.
Constructors
FormletState | |
Fields
|
Instances
Eq FormletState Source # | |
Defined in Descriptive.Formlet | |
Show FormletState Source # | |
Defined in Descriptive.Formlet Methods showsPrec :: Int -> FormletState -> ShowS # show :: FormletState -> String # showList :: [FormletState] -> ShowS # |
Description
Description of a formlet.
Constructors
Index !Integer | |
Constrained !Text |