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.

  1. shouldApplyToAnything :: HasCallStack => Mock fun params -> IO ()

    mockcat Test.MockCat.Mock

    Verify that it was apply to anything.

  2. appendMany :: (Collection c, Monoid (c v), Ord k) => k -> c v -> Multimap c k v -> Multimap c k v

    more-containers Data.Multimap

    O(log m * C) Appends a collection of values to a key's collection.

  3. deleteMany :: forall k (c :: Type -> Type) v . Ord k => k -> Multimap c k v -> Multimap c k v

    more-containers Data.Multimap

    O(log m) Removes all entries for the given key.

  4. modifyMany :: (Collection c, Monoid (c v), Ord k) => (c v -> c v) -> k -> Multimap c k v -> Multimap c k v

    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)]
    

  5. modifyManyF :: (Collection c, Monoid (c v), Ord k, Functor f) => (c v -> f (c v)) -> k -> Multimap c k v -> f (Multimap c k v)

    more-containers Data.Multimap

    Modifies a key's collection using an arbitrary function. This is the applicative version of modifyMany.

  6. prependMany :: (Collection c, Monoid (c v), Ord k) => k -> c v -> Multimap c k v -> Multimap c k v

    more-containers Data.Multimap

    O(log m * C) Prepends a collection of values to a key's collection.

  7. 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 '_')
    

  8. 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.

  9. 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.

  10. 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.

Page 231 of many | Previous | Next