Hoogle Search
Within LTS Haskell 24.18 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
multistate Control.Monad.Trans.MultiReader.Strict Map both the return value and the environment of a computation using the given function. Note that there is a difference to mtl's ReaderT, where it is not possible to modify the environment.
-
multistate Control.Monad.Trans.MultiState Map both the return value and the state of a computation using the given function.
-
multistate Control.Monad.Trans.MultiState.Lazy Map both the return value and the state of a computation using the given function.
-
multistate Control.Monad.Trans.MultiState.Strict Map both the return value and the state of a computation using the given function.
-
multistate Control.Monad.Trans.MultiWriter Map both the return value and the state of a computation using the given function.
-
multistate Control.Monad.Trans.MultiWriter.Lazy Map both the return value and the state of a computation using the given function.
-
multistate Control.Monad.Trans.MultiWriter.Strict Map both the return value and the state of a computation using the given function.
mapMaybe :: (a -> Maybe b) -> Event a -> Event breactive-midyim Reactive.Banana.MIDI.Utility No documentation available.
mapM_ :: (Generator c, Monad m) => (Elem c -> m b) -> c -> m ()reducers Data.Generator.Combinators Efficiently mapReduce a Generator using the Action monoid. A specialized version of its namesake from Data.Foldable and Control.Monad
mapReduceWith getAction
mapMaybe :: forall (m :: Type -> Type) a b r . Monad m => (a -> Maybe b) -> Fold m b r -> Fold m a rstreamly-core Streamly.Data.Fold mapMaybe f fold maps a Maybe returning function f on the input of the fold, filters out Nothing elements, and return the values extracted from Just.
>>> mapMaybe f = Fold.lmap f . Fold.catMaybes >>> mapMaybe f = Fold.mapMaybeM (return . f)
>>> f x = if even x then Just x else Nothing >>> fld = Fold.mapMaybe f Fold.toList >>> Stream.fold fld (Stream.enumerateFromTo 1 10) [2,4,6,8,10]