Hoogle Search
Within LTS Haskell 24.66 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
beam-core Database.Beam.Query.Types No documentation available.
-
beam-core Database.Beam.Schema.Tables No documentation available.
CounterEvidence :: a -> Evidence a bbinary-search Numeric.Search No documentation available.
-
binary-search Numeric.Search The Evidence datatype is similar to Either , but differes in that all CounterEvidence values are equal to each other, and all Evidence values are also equal to each other. The Evidence type is used to binary-searching for some predicate and meanwhile returning evidences for that. In other words, Evidence is a Bool with additional information why it is True or False.
>>> Evidence "He owns the gun" == Evidence "He was at the scene" True >>> Evidence "He loved her" == CounterEvidence "He loved her" False
-
binary-search Numeric.Search No documentation available.
counterEvidence :: Evidence a bbinary-search Numeric.Search counterEvidence = CounterEvidence undefined. We can use this combinator to look up for any CounterEvidence, since all CounterEvidences are equal.
counterEvidenceForLargest :: [Range (Evidence b1 b2) a] -> Maybe b1binary-search Numeric.Search Get the content of the counterEvidence for the largest a which does not satisfy pred a.
counterEvidenceForSmallest :: [Range (Evidence b1 b2) a] -> Maybe b1binary-search Numeric.Search Get the content of the counterEvidence for the smallest a which does not satisfy pred a.
divideForever :: (Eq a, Fractional a) => Splitter abinary-search Numeric.Search Perform split forever, until we cannot find a mid-value due to machine precision. This one uses (/) operator.
divideTill :: (Ord a, Fractional a) => a -> Splitter abinary-search Numeric.Search Perform splitting until hi - lo <= eps.