./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)


CVS history: (Expand)


   2024-05-09 03:32:57 by Masatake Daimon | Files touched by this commit (1137)
Log message:
Recursive revbump after changing the default Haskell compiler
   2024-05-05 10:16:17 by Masatake Daimon | Files touched by this commit (5)
Log message:
devel/hs-validation-selective: import hs-validation-selective-0.2.0.0

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.