symmetric-properties: Monoids for sameness and uniqueness.

[ bsd3, library, web ] [ Propose Tags ]

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
Versions 0.1.0.0
Dependencies base (>=4.6 && <5), containers (>=0.4) [details]
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 Sun Oct 1 03:47:36 UTC 2017
Distributions NixOS:0.1.0.0
Downloads 280 total (13 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2017-10-01 [all 1 reports]
Hackage Matrix CI

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees