Hoogle Search
Within LTS Haskell 24.40 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
do-list Data.DoList DoListM is not a real instance of Monad, Applicative or Functor. It pretends being them with a phantom result type.
hoistMaybe :: forall (m :: Type -> Type) b . Applicative m => Maybe b -> MaybeT m bdunai Control.Monad.Trans.MSF.Maybe constM :: Monad m => m b -> MSF m a bdunai Data.MonadicStreamFunction.Core Lifts a monadic computation into a Stream.
testMinimum :: Show e => Predicate '[e] -> Property' e () -> Property' String ()falsify Test.Falsify.Property Test the minimum error thrown by the property If the given property passes, we will discard this test (in that case, there is nothing to test); this test is also discarded if the given property discards. NOTE: When testing a particular generator, you might still want to test with some particular property in mind. Otherwise, the minimum value will always simply be the value that the generator produces when given the Minimal sample tree.
-
This module loads all rewrite rules. Unless you know that some rules will be unsafe for your application, this is the module you should load. Importing this module is roughly equivalent to gcc's -ffast-math compilation flag. The best way to figure out what optimizations these modules do is by looking at the source code. RULES pragmas are surprisingly readable.
closestMatch :: MonadFuzzySearch m => Text -> m (Maybe Text)fuzzyset Data.FuzzySet Try to match the given string against the entries in the set, and return the string that most closely matches the input, if a match is found. A minimum score of 0.33 is used. To specify a custom threshold value, instead use closestMatchMin.
closestMatchMin :: MonadFuzzySearch m => Double -> Text -> m (Maybe Text)fuzzyset Data.FuzzySet Try to match the given string against the entries in the set using the specified minimum score and return the string that most closely matches the input, if a match is found.
closestMatch :: MonadFuzzySearch m => Text -> m (Maybe Text)fuzzyset Data.FuzzySet.Monad Try to match the given string against the entries in the set, and return the string that most closely matches the input, if a match is found. A minimum score of 0.33 is used. To specify a custom threshold value, instead use closestMatchMin.
closestMatchMin :: MonadFuzzySearch m => Double -> Text -> m (Maybe Text)fuzzyset Data.FuzzySet.Monad Try to match the given string against the entries in the set using the specified minimum score and return the string that most closely matches the input, if a match is found.
closestMatch :: Text -> FuzzySet -> Maybe Textfuzzyset Data.FuzzySet.Simple Try to match the given string against the entries in the set, and return the string that most closely matches the input, if a match is found. A minimum score of 0.33 is used. To specify a custom threshold value, instead use closestMatchMin.