The symmetric-properties package

[ Tags: 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

Properties

Versions 0.1.0.0
Dependencies base (>=4.6 && <5), containers (>=0.4) [details]
License BSD3
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 repository head: git clone https://github.com/joelburget/symmetric-properties
Uploaded Sun Oct 1 03:47:36 UTC 2017 by joelb
Distributions NixOS:0.1.0.0
Downloads 168 total (86 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