Hoogle Search
Within LTS Haskell 24.34 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
mapEither :: (a -> Either b c) -> Infinite a -> (Infinite b, Infinite c)infinite-list Data.List.Infinite Apply a function to every element of an infinite list and separate Left and Right results. This function isn't productive (e. g., head . fst . mapEither f won't terminate), if no elements of the input list result in Left or Right.
mapMaybe :: (a -> Maybe b) -> Infinite a -> Infinite binfinite-list Data.List.Infinite Apply a function to every element of an infinite list and collect Just results. This function isn't productive (e. g., head . mapMaybe f won't terminate), if no elements of the input list result in Just.
mapped :: forall (f :: Type -> Type) a a' . Functor f => Setter (f a) (f a') a a'lens-family Lens.Family2.Stock An SEC referencing the parameter of a functor.
mapConcurrently :: (Traversable t, MonadBaseControl IO m) => (a -> m b) -> t a -> m (t b)lifted-async Control.Concurrent.Async.Lifted Generalized version of mapConcurrently.
mapConcurrently_ :: (Foldable t, MonadBaseControl IO m) => (a -> m b) -> t a -> m ()lifted-async Control.Concurrent.Async.Lifted Generalized version of mapConcurrently_.
-
lifted-async Control.Concurrent.Async.Lifted.Safe Generalized version of mapConcurrently.
-
lifted-async Control.Concurrent.Async.Lifted.Safe Generalized version of mapConcurrently_.
-
massiv Data.Massiv.Array Map an IO action over an Array. Underlying computation strategy is respected and will be parallelized when requested. Unfortunately no fusion is possible and new array will be create upon each call.
mapIO_ :: forall r ix e a m . (Load r ix e, MonadUnliftIO m) => (e -> m a) -> Array r ix e -> m ()massiv Data.Massiv.Array Similar to mapIO, but ignores the result of mapping action and does not create a resulting array, therefore it is faster. Use this instead of mapIO when result is irrelevant. Most importantly it will follow the iteration logic outlined by the supplied array.
-
massiv Data.Massiv.Array Map a monadic action over an array sequentially.