Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell98 |
Descriptive.Form
Contents
Description
Validating form with named inputs.
Combinators
Arguments
:: Monad m | |
=> d | Description of what it expects. |
-> (a -> StateT s m (Maybe b)) | Attempt to parse the value. |
-> Consumer s (Form d) m a | Consumer to add validation to. |
-> Consumer s (Form d) m b | A new validating consumer. |
Validate a form input with a description of what's required.