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.
shouldApplyToAnything :: HasCallStack => Mock fun params -> IO ()mockcat Test.MockCat.Mock Verify that it was apply to anything.
appendMany :: (Collection c, Monoid (c v), Ord k) => k -> c v -> Multimap c k v -> Multimap c k vmore-containers Data.Multimap O(log m * C) Appends a collection of values to a key's collection.
deleteMany :: forall k (c :: Type -> Type) v . Ord k => k -> Multimap c k v -> Multimap c k vmore-containers Data.Multimap O(log m) Removes all entries for the given key.
-
more-containers Data.Multimap Modifies a key's collection using an arbitrary function. More specifically, this function lifts an operation over a collection of values into a multimap operation. Sample use to filter even values from a SetMultimap:
let ms = fromList [('a', 1), ('a', 2)] :: SetMultimap Char Int modifyMany (Set.filter even) 'a' ms == fromList [('a', 1)] -
more-containers Data.Multimap Modifies a key's collection using an arbitrary function. This is the applicative version of modifyMany.
prependMany :: (Collection c, Monoid (c v), Ord k) => k -> c v -> Multimap c k v -> Multimap c k vmore-containers Data.Multimap O(log m * C) Prepends a collection of values to a key's collection.
many :: MonadPlus m => m a -> m [a]network-uri-template Network.URI.Template.Internal.Parse many p applies the parser p zero or more times and returns a list of the values returned by p.
identifier = (:) <$> letter <*> many (alphaNumChar <|> char '_')
manyTill :: MonadPlus m => m a -> m end -> m [a]network-uri-template Network.URI.Template.Internal.Parse manyTill p end applies parser p zero or more times until parser end succeeds. Returns the list of values returned by p. Note that end result is consumed and lost. Use manyTill_ if you wish to keep it. See also: skipMany, skipManyTill.
manyTill_ :: MonadPlus m => m a -> m end -> m ([a], end)network-uri-template Network.URI.Template.Internal.Parse manyTill_ p end applies parser p zero or more times until parser end succeeds. Returns the list of values returned by p and the end result. Use manyTill if you have no need in the result of the end. See also: skipMany, skipManyTill.
skipMany :: MonadPlus m => m a -> m ()network-uri-template Network.URI.Template.Internal.Parse skipMany p applies the parser p zero or more times, skipping its result. See also: manyTill, skipManyTill.