./devel/hs-validation-selective, Lighweight pure data validation

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 0.2.0.0nb1, Package name: hs-validation-selective-0.2.0.0nb1, Maintainer: pkgsrc-users

Lightweight pure data validation based on Applicative and Selective
functors.

validation-selective is built around the following data type:

data Validation e a
= Failure e
| Success a

This data type is similar to Either but allows accumulating all errors
instead of short-circuiting on the first one.


Master sites:

Filesize: 21.872 KB

Version history: (Expand)