| 1 |
Source: haskell-binary-search |
| 2 |
Maintainer: Debian Haskell Group <[email protected]> |
| 3 |
Uploaders: Scott Talbert <[email protected]> |
| 4 |
Priority: optional |
| 5 |
Section: haskell |
| 6 |
Rules-Requires-Root: no |
| 7 |
Build-Depends: debhelper-compat (= 13), |
| 8 |
haskell-devscripts-minimal | haskell-devscripts (>= 0.13), |
| 9 |
dh-sequence-haskell, |
| 10 |
ghc, |
| 11 |
ghc-prof, |
| 12 |
libghc-hspec-dev (>= 1.3), |
| 13 |
libghc-hspec-prof, |
| 14 |
libghc-quickcheck2-dev (>= 2.5), |
| 15 |
libghc-quickcheck2-prof, |
| 16 |
Build-Depends-Indep: ghc-doc, |
| 17 |
Standards-Version: 4.7.0 |
| 18 |
Homepage: https://hackage.haskell.org/package/binary-search |
| 19 |
Vcs-Browser: https://salsa.debian.org/haskell-team/DHG_packages/tree/master/p/haskell-binary-search |
| 20 |
Vcs-Git: https://salsa.debian.org/haskell-team/DHG_packages.git [p/haskell-binary-search] |
| 21 |
X-Description: Binary and exponential searches |
| 22 |
__Introduction__ |
| 23 |
. |
| 24 |
This package provides varieties of binary search functions. |
| 25 |
c.f. "Numeric.Search" for the examples. |
| 26 |
. |
| 27 |
These search function can search for pure and monadic predicates, of type: |
| 28 |
. |
| 29 |
> pred :: Eq b => a -> b |
| 30 |
> pred :: (Eq b, Monad m) => a -> m b |
| 31 |
. |
| 32 |
The predicates must satisfy that the domain range for any codomain value |
| 33 |
is continuous; that is, @∀x≦y≦z. pred x == pred z ⇒ pred y == pred x@ . |
| 34 |
. |
| 35 |
For example, we can address the problem of finding the boundary |
| 36 |
of an upward-closed set of integers, using a combination |
| 37 |
of exponential and binary searches. |
| 38 |
. |
| 39 |
Variants are provided |
| 40 |
for searching within bounded and unbounded intervals of |
| 41 |
both 'Integer' and bounded integral types. |
| 42 |
. |
| 43 |
The package was created by Ross Paterson, and extended |
| 44 |
by Takayuki Muranushi, to be used together with SMT solvers. |
| 45 |
. |
| 46 |
__The Module Structure__ |
| 47 |
. |
| 48 |
* "Numeric.Search" provides the generic search combinator, to search for pure |
| 49 |
and monadic predicates. |
| 50 |
. |
| 51 |
* "Numeric.Search.Bounded" , "Numeric.Search.Integer" , |
| 52 |
"Numeric.Search.Range" provides the various specialized searchers, which means |
| 53 |
less number of function arguments, and easier to use. |
| 54 |
. |
| 55 |
<<https://travis-ci.org/nushio3/binary-search.svg?branch=master>> |
| 56 |
|
| 57 |
Package: libghc-binary-search-dev |
| 58 |
Architecture: any |
| 59 |
Depends: ${haskell:Depends}, |
| 60 |
${misc:Depends}, |
| 61 |
${shlibs:Depends}, |
| 62 |
Recommends: ${haskell:Recommends}, |
| 63 |
Suggests: ${haskell:Suggests}, |
| 64 |
Conflicts: ${haskell:Conflicts}, |
| 65 |
Provides: ${haskell:Provides}, |
| 66 |
Description: ${haskell:ShortDescription}${haskell:ShortBlurb} |
| 67 |
${haskell:LongDescription} |
| 68 |
. |
| 69 |
${haskell:Blurb} |
| 70 |
|
| 71 |
Package: libghc-binary-search-prof |
| 72 |
Architecture: any |
| 73 |
Depends: ${haskell:Depends}, |
| 74 |
${misc:Depends}, |
| 75 |
Recommends: ${haskell:Recommends}, |
| 76 |
Suggests: ${haskell:Suggests}, |
| 77 |
Conflicts: ${haskell:Conflicts}, |
| 78 |
Provides: ${haskell:Provides}, |
| 79 |
Description: ${haskell:ShortDescription}${haskell:ShortBlurb} |
| 80 |
${haskell:LongDescription} |
| 81 |
. |
| 82 |
${haskell:Blurb} |
| 83 |
|
| 84 |
Package: libghc-binary-search-doc |
| 85 |
Architecture: all |
| 86 |
Section: doc |
| 87 |
Depends: ${haskell:Depends}, |
| 88 |
${misc:Depends}, |
| 89 |
Recommends: ${haskell:Recommends}, |
| 90 |
Suggests: ${haskell:Suggests}, |
| 91 |
Conflicts: ${haskell:Conflicts}, |
| 92 |
Description: ${haskell:ShortDescription}${haskell:ShortBlurb} |
| 93 |
${haskell:LongDescription} |
| 94 |
. |
| 95 |
${haskell:Blurb} |