lazy-search: Finds values satisfying a lazy predicate

[ bsd3, library, testing ] [ Propose Tags ]

This library can be used as a property based testing driver, and more generally to find values satisfying a predicate (a -> Bool). This is done by a size bounded search, and it uses the laziness of the predicate to speed up the search by avoiding isomorphic values.

This is similar to LazySmallCheck but uses size instead of depth and a faster algorithm.

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 0.1.0.0, 0.1.1.0, 0.1.2.0, 0.1.2.1, 0.1.3.0
Change log CHANGELOG.md
Dependencies base (>=4.7 && <5), size-based (>=0.1 && <0.2) [details]
License BSD-3-Clause
Author Jonas Duregard
Maintainer byorgey@gmail.com
Category Testing
Source repo head: git clone https://github.com/size-based/lazy-search
Uploaded by BrentYorgey at 2022-05-17T15:51:47Z
Distributions NixOS:0.1.3.0
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 8712 total (145 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2022-05-17 [all 1 reports]