An open API service indexing awesome lists of open source software.

https://github.com/lexi-lambda/monad-validate

A Haskell monad transformer library for data validation
https://github.com/lexi-lambda/monad-validate

Last synced: 8 months ago
JSON representation

A Haskell monad transformer library for data validation

Awesome Lists containing this project

README

          

# monad-validate [![Build Status](https://img.shields.io/github/actions/workflow/status/lexi-lambda/monad-validate/build.yml?branch=master)](https://github.com/lexi-lambda/monad-validate/actions/workflows/build.yml) [![Hackage](https://img.shields.io/badge/hackage-1.3.0.0-5e5184)][hackage]

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][hackage] for more information and examples.

[hackage]: https://hackage.haskell.org/package/monad-validate