@cardano / validation-selective

Lighweight pure data validation based on Applicative and Selective functors

Latest0.2.0.0.0.0.0.0.1

About

Metadata

  • Last updated
  • License MPL-2.0
  • Maintained by: Kowainik <xrom.xkov@gmail.com>

Links

Installation

Tested Compilers

  1. 9.6.2
  2. 9.4.4
  3. 9.2.7
  4. 9.0.2
  5. 8.10.7
  6. 8.8.4
  7. 8.6.5

Readme

Lighweight pure data validation based on Applicative and Selective functors. The library builds validation interface around the following data type:

data Validation e a
    = Failure e
    | Success a