BSD Ports

devel/hs-validation-selective 0.2.0.0nb4 NetBSD

Lighweight pure data validation

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
License
mpl-2.0
Categories
devel
Package size
148.5 KiB, 1502.2 KiB installed

Description

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.

Install

Binary package:

pkgin install hs-validation-selective

From pkgsrc:

cd /usr/pkgsrc/devel/hs-validation-selective && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_640.2.0.0nb4
NetBSD 10.1 aarch640.2.0.0nb4
SmartOS / illumos x86_640.2.0.0nb4
macOS 15 arm640.2.0.0nb4

Dependencies

Run dependencies 2
Required by 1