no-value: A type class for choosing sentinel-like values

[ bsd3, data, library ] [ Propose Tags ] [ Report a vulnerability ]

Please see the README on GitHub at https://github.com/cdornan/no-value#readme


[Skip to Readme]

Modules

[Index] [Quick Jump]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 1.0.0.0
Change log ChangeLog.md
Dependencies base (>=4.10 && <10) [details]
License BSD-3-Clause
Copyright 2019 Chris Dornan
Author Chris Dornan
Maintainer chris@chrisdornan.com
Category Data
Home page https://github.com/cdornan/no-value#readme
Bug tracker https://github.com/cdornan/no-value/issues
Source repo head: git clone https://github.com/cdornan/no-value
Uploaded by ChrisDornan at 2019-07-28T22:46:13Z
Distributions LTSHaskell:1.0.0.0, NixOS:1.0.0.0, Stackage:1.0.0.0
Downloads 871 total (11 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2019-07-28 [all 1 reports]

Readme for no-value-1.0.0.0

[back to package description]

no-value

This package provides the NoValue class for selecting sentinel-like values for each member type. These are 'default' values that are not supposed to represent proper values. They are typically used where you would normally use an error value but cannot. The idea is that they should be recognisable as non-values when encountered in logs or diagnostics.