unpacked-validation: An unpacked validation data type
The Validation
type and associated operations.
This library is intended to be a drop-in replacement for Data.Valiation. To shave off pointer chasing, it uses -XUnboxedSums to represent the Validation
type as two machine words that are contiguous in memory, without loss of expressiveness that Validation
provides.
This library provides pattern synonyms Failure and Success, which allow users to pattern match on an Unpacked Validation in a familiar way.
Functions are also provided for converting an Unpacked Validation to the validation library's These, and vice versa.
This library is in alpha, and the internals are likely to change.
Downloads
- unpacked-validation-0.1.0.0.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
- No Candidates
Versions [RSS] | 0.1.0.0 |
---|---|
Dependencies | base (>=4.10 && <5), deepseq, ghc-prim, unpacked-either, validation [details] |
License | BSD-3-Clause |
Copyright | Copyright © 2018 chessai |
Author | chessai |
Maintainer | chessai1996@gmail.com |
Category | Development |
Home page | https://github.com/chessai/unpacked-validation |
Source repo | head: git clone https://github.com/chessai/unpacked-validation |
Uploaded | by chessai at 2018-06-04T22:31:40Z |
Distributions | |
Reverse Dependencies | 1 direct, 0 indirect [details] |
Downloads | 773 total (5 in the last 30 days) |
Rating | (no votes yet) [estimated by Bayesian average] |
Your Rating | |
Status | Docs available [build log] Last success reported on 2018-06-04 [all 1 reports] |