symmetric-properties: Monoids for sameness and uniqueness.
Test whether every element of a Foldable
is the Same
or Unique
.
> allSame (replicate 1000 1) True > allSame [1..] False > allUnique [1..1000] True > allUnique (cycle [1..100]) False
Downloads
- symmetric-properties-0.1.0.1.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
Versions [RSS] | 0.1.0.0, 0.1.0.1 |
---|---|
Dependencies | base (>=4.6 && <5), containers (>=0.4), semigroups (>=0.18 && <0.19) [details] |
Tested with | ghc ==7.6.3, ghc ==7.8.4, ghc ==7.10.2, ghc ==8.0.1, ghc ==8.2.1, ghc ==8.4.4, ghc ==8.6.1 |
License | BSD-3-Clause |
Copyright | Copyright (c) 2016 Joel Burget |
Author | Joel Burget |
Maintainer | joelburget@gmail.com |
Category | Web |
Home page | https://github.com/joelburget/symmetric-properties#readme |
Source repo | head: git clone https://github.com/joelburget/symmetric-properties |
Uploaded | by joelb at 2019-01-15T20:41:40Z |
Distributions | NixOS:0.1.0.1 |
Reverse Dependencies | 1 direct, 0 indirect [details] |
Downloads | 1589 total (17 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-01-15 [all 1 reports] |