Digestive functors is a library inspired by 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
separation of the validation model and the HTML output.