monad-validate: A monad transformer for data validation.

[ control, library ] [ Propose Tags ]

Provides the ValidateT monad transformer, designed for writing data validations that provide high-quality error reporting without much effort. ValidateT automatically exploits the data dependencies of your program—as encoded implicitly in uses of fmap, <*>, and >>=—to report as many errors as possible upon failure instead of completely aborting at the first one. See Control.Monad.Validate for more information.


[Skip to Readme]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees

Candidates

Versions [RSS] 1.0.0.0, 1.1.0.0, 1.2.0.0
Change log CHANGELOG.md
Dependencies base (>=4.12 && <5), exceptions (>=0.9 && <1), monad-control (>=1 && <2), mtl, transformers (>=0.5.6), transformers-base (<1) [details]
License ISC
Copyright 2019 Hasura
Author Alexis King <lexi.lambda@gmail.com>
Maintainer Alexis King <lexi.lambda@gmail.com>
Category Control
Home page https://github.com/hasura/monad-validate#readme
Bug tracker https://github.com/hasura/monad-validate/issues
Source repo head: git clone https://github.com/hasura/monad-validate
Uploaded by lexi_lambda at 2019-08-10T03:29:36Z
Distributions NixOS:1.2.0.0
Downloads 3964 total (66 in the last 30 days)
Rating 1.25 (votes: 1) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2019-08-10 [all 1 reports]

Readme for monad-validate-1.2.0.0

[back to package description]

monad-validate

A Haskell library providing the ValidateT monad transformer, designed for writing data validations that provide high-quality error reporting without much effort. ValidateT automatically exploits the data dependencies of your program—as encoded implicitly in uses of fmap, <*>, and >>=—to report as many errors as possible upon failure instead of completely aborting at the first one.

See the documentation on Hackage for more information and examples.