Validation of data is a common use case in many applications. Examples include parsing of user submitted forms in web applications and various data processing applications where it is required that the data is imported/read in a pre-determined way.
This work has originally been motivated by the need to validate form submissions in Snap Web Framework.
This library is very much experimental at this point, but is meant for practical real-world data validation applications.
Examples will be povided once the functionality and API are a bit more stable.
Any feedback is welcome.
- Make included validators as polymorphic as possible. Currently, the included validator combinators are meant to be used for inputs that are based on a single ByteString value. This can bee observed from their types that read "FieldValidator m ByteString a".