HORIZON HASKELLDocslts/ghc-9.10.x248f8f02026-10-05Search names, modules, packages, or :: a typeCtrl K

GHC 9.10.3 · lts/ghc-9.10.x · 248f8f0 · 2026-10-05

Package0.1.3.0Testing

lazy-search

Finds values satisfying a lazy predicate

Modules

2 modules
  • Control.Search63Efficient size-based search for values satisfying/falsifying a lazy boolean predicate.
  • Data.Coolean17Proper documentation is TBD

Description

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.

Depends on

2 packages

Used by in this set · 0

Nothing in this set depends on it.