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 [faq] 0.1.0.0, 0.1.0.1
Dependencies base (>=4.6 && <5), containers (>=0.4), semigroups (==0.18.*) [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 Tue Jan 15 20:41:40 UTC 2019
Distributions NixOS:0.1.0.1
Downloads 558 total (31 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Last success reported on 2019-01-15 [all 1 reports]

Modules

[Index] [Quick Jump]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees