lazy-search

Finds values satisfying a lazy predicate

Latest on Hackage:0.1.3.0

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.

BSD-3-Clause licensed by Jonas Duregard
Maintained by [email protected]

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.