Link [ pkgsrc | NetBSD | pkgsrc git mirror | PR fulltext-search | netbsd commit viewer ]


   
        usage: [branch:branch] [user:user] [path[@revision]] keyword [... [-excludekeyword [...]]] (e.g. branch:MAIN pkgtools/pkg)




switch to index mode

recent branches: MAIN (2m)  pkgsrc-2024Q1 (6d)  pkgsrc-2023Q4 (53d)  pkgsrc-2023Q2 (85d)  pkgsrc-2023Q3 (165d) 

2024-05-23 20:36:41 UTC Now

2024-05-05 08:16:17 UTC MAIN commitmail json YAML

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.

(pho)