The zero package

[ Tags: bsd3, data, library ] [ Propose Tags ]

Monoid is a Semigroup glued with a neutral element called mempty. In the same idea, Zero is a Semigroup glued with an absorbing element called zero.

Keep in mind that Zero requires Semigroup. If you have Semigroup defined to work with Monoid, you might end up with no way to implement Zero. That’s why the Semigroup instance for Maybe is confusing, because it relies on Monoid, and cannot be used with Zero. Success is the Zero equivalent of Maybe + Monoid.

Properties

Versions 0.1, 0.1.1, 0.1.2, 0.1.3, 0.1.3.1, 0.1.4
Change log CHANGELOG.md
Dependencies base (>=4.8 && <5.0), semigroups (>=0.16 && <0.19) [details]
License BSD3
Copyright Dimitri Sabadie
Author Dimitri Sabadie <dimitri.sabadie@gmail.com>
Maintainer Dimitri Sabadie <dimitri.sabadie@gmail.com>
Category Data
Home page https://github.com/phaazon/zero
Bug tracker https://github.com/phaazon/zero/issues
Source repository head: git clone https://github.com/phaazon/zero.git
Uploaded Wed May 25 11:27:26 UTC 2016 by DimitriSabadie
Distributions LTSHaskell:0.1.4, NixOS:0.1.4, Stackage:0.1.4, Tumbleweed:0.1.4
Downloads 598 total (12 in the last 30 days)
Rating 0.0 (0 ratings) [clear rating]
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2016-05-25 [all 1 reports]
Hackage Matrix CI

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees