An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

quickspec

QuickSpec takes your Haskell code and, as if by magic, discovers laws about it. You give QuickSpec a collection of Haskell functions; QuickSpec tests your functions with QuickCheck and prints out laws which seem to hold. For example, give QuickSpec the functions reverse, ++ and [], and it will find six laws: QuickSpec can find equational laws as well as conditional equations. All you need to supply are the functions to test, as well as Ord and Arbitrary instances for QuickSpec to use in testing; the rest is automatic. For information on how to use QuickSpec, see the documentation in the main module, QuickSpec. You can also look in the examples directory, for example at Lists.hs, IntSet.hs, or Parsing.hs. To read about how QuickSpec works, see our paper, Quick specifications for the busy programmer.

Ecosystem
hackage.haskell.org
Latest Release
2.1.5
over 5 years ago
Versions
15
Downloads
10,139 total
Dependent Repos
6
Links
Registry hackage.haskell.org
Source Repository
JSON API View JSON
CodeMeta codemeta.json
Package Details
PURL pkg:hackage/quickspec
spec
License BSD-3-Clause
First Release about 13 years ago
Last Synced 5 days ago
Repository
Stars 259 on GitHub
Forks 27 on GitHub
Commits 1320
Committers 12
Avg per Author 110.0
DDS 0.398
Rankings on hackage.haskell.org
Forks Top 8.0%