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

binary-search

Introduction This package provides varieties of binary search functions. c.f. Numeric.Search for the examples. These search function can search for pure and monadic predicates, of type: The predicates must satisfy that the domain range for any codomain value is continuous; that is, ∀x≦y≦z. pred x == pred z ⇒ pred y == pred x . For example, we can address the problem of finding the boundary of an upward-closed set of integers, using a combination of exponential and binary searches. Variants are provided for searching within bounded and unbounded intervals of both Integer and bounded integral types. The package was created by Ross Paterson, and extended by Takayuki Muranushi, to be used together with SMT solvers. The Module Structure Numeric.Search provides the generic search combinator, to search for pure and monadic predicates. Numeric.Search.Bounded , Numeric.Search.Integer , Numeric.Search.Range provides the various specialized searchers, which means less number of function arguments, and easier to use.

Ecosystem
hackage.haskell.org
Latest Release
2.0.0
almost 5 years ago
Versions
8
Downloads
10,937 total
Dependent Packages
1
Dependent Repos
44
Past Dependents
Include Past Dependents

Check this option to include packages that no longer depend on this package in their latest version but previously did.

Filter by Kind
Links
Registry hackage.haskell.org
JSON API View JSON
CodeMeta codemeta.json
Package Details
PURL pkg:hackage/binary-search
spec
License BSD-3-Clause
First Release almost 18 years ago
Last Synced 23 days ago
Rankings on hackage.haskell.org
Dependent repos Top 8.0%