digestive-functors

A practical formlet library http://github.com/jaspervdj/digestive-functors

Version on this page:0.8.0.0
LTS Haskell 6.33:0.8.0.1
Stackage Nightly 2016-05-25:0.8.0.1
Latest on Hackage:0.8.2.0
BSD3 licensed and maintained by Jasper Van der Jeugt

Module documentation for 0.8.0.0

There are no documented modules for this package.

Digestive functors is a library inspired by formlets:

http://groups.inf.ed.ac.uk/links/formlets/

It is intended to be an improvement of the Haskell formlets library, with as main advantages:

  • better error handling, so a web page can display input errors right next to the corresponding fields;

  • the ability to easily add <label> elements;

  • separation of the validation model and the HTML output.

Tutorial: http://github.com/jaspervdj/digestive-functors/blob/master/examples/tutorial.lhs

Changes

- 0.8.2.0
* Update `QuickCheck` version bound
* Updated CHoice type to allow for multiple choices

- 0.8.1.1
* Bump `time` dependency to allow up to `time-1.6`

- 0.8.1.0
* Add support for a list of files via `<input type="file" multiple />`

- 0.8.0.1
* Bump `HUnit` dependency to allow up to `HUnit-1.3`

- 0.8.0.0
* Lots of constraint changes due to Applicative => Monad

- 0.7.1.5
* Bump `time` dependency to allow up to `time-1.5`, for tests as well
* Bump `QuickCheck` dependency to allow up to `QuickCheck-2.8`

- 0.7.1.4
* Bump `time` dependency to allow up to `time-1.5`

- 0.7.1.3
* Bump `text` dependency again

- 0.7.1.2
* Bump `text` dependency to allow up to `text-1.3`

- 0.7.1.1
* Bump `QuickCheck` dependency to allow `QuickCheck-2.7`
* Clean warnings in tests compilation
* Don't use `Text.Read` to fix compilation on GHC 7.4

- 0.7.1.0
* Add `validateOptional` function
* Add `condition` functions to allow composing multiple independent
validation functions
* Bump `text` dependency to allow `text-1.1`
comments powered byDisqus