Hoogle Search
Within LTS Haskell 24.4 (ghc-9.10.2)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
mapConcurrently :: (Traversable t, MonadConc m) => (a -> m b) -> t a -> m (t b)concurrency Control.Concurrent.Classy.Async Maps a MonadConc-performing function over any Traversable data type, performing all the MonadConc actions concurrently, and returning the original data structure with the arguments replaced by the results. For example, mapConcurrently works with lists:
pages <- mapConcurrently getURL ["url1", "url2", "url3"]
mapConcurrently_ :: (Foldable f, MonadConc m) => (a -> m b) -> f a -> m ()concurrency Control.Concurrent.Classy.Async mapConcurrently_ is mapConcurrently with the return value discarded, just like mapM_.
mapTupleE :: (Type -> Exp -> Q Exp) -> Type -> Exp -> Maybe (Q Exp)data-effects-th Data.Effect.HFunctor.TH.Internal No documentation available.
mapTree :: (a -> b) -> Tree a -> Tree bdebian Debian.Apt.Dependencies No documentation available.
mapExn :: forall e m a . (MonadCatch m, Exception e) => m a -> (e -> e) -> m adebian Debian.Loc No documentation available.
mapEither :: Filtrable f => (a -> Either b c) -> f a -> (f b, f c)filtrable Data.Filtrable Map the container with the given function, collecting the Lefts and the Rights separately.
-
filtrable Data.Filtrable Traverse the container with the given function, collecting the Lefts and the Rights separately.
mapMaybe :: Filtrable f => (a -> Maybe b) -> f a -> f bfiltrable Data.Filtrable Map the container with the given function, dropping the elements for which it returns Nothing.
mapMaybeA :: (Filtrable f, Traversable f, Applicative p) => (a -> p (Maybe b)) -> f a -> p (f b)filtrable Data.Filtrable Traverse the container with the given function, dropping the elements for which it returns Nothing.
-
freer-par-monad Control.Monad.Freer.Par.Sequence No documentation available.