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.
hackage.haskell.org
2.1.5
over 5 years ago
15
10,139 total
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 |