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.

  1. mapMListT :: Monad m => (a -> m b) -> ListT m a -> ListT m b

    Agda Agda.Utils.ListT

    Extending a monadic function to ListT.

  2. mapMListT_alt :: Monad m => (a -> m b) -> ListT m a -> ListT m b

    Agda Agda.Utils.ListT

    Alternative implementation using foldListT.

  3. mapM' :: (Foldable t, Applicative m, Monoid b) => (a -> m b) -> t a -> m b

    Agda Agda.Utils.Monad

    Generalized version of traverse_ :: Applicative m => (a -> m ()) -> [a] -> m () Executes effects and collects results in left-to-right order. Works best with left-associative monoids. Note that there is an alternative

    mapM' f t = foldr mappend mempty $ mapM f t
    
    that collects results in right-to-left order (effects still left-to-right). It might be preferable for right associative monoids.

  4. mapMM :: (Traversable t, Monad m) => (a -> m b) -> m (t a) -> m (t b)

    Agda Agda.Utils.Monad

    No documentation available.

  5. mapMM_ :: (Foldable t, Monad m) => (a -> m ()) -> m (t a) -> m ()

    Agda Agda.Utils.Monad

    No documentation available.

  6. mapMaybeM :: Monad m => (a -> m (Maybe b)) -> [a] -> m [b]

    Agda Agda.Utils.Monad

    A monadic version of mapMaybe :: (a -> Maybe b) -> [a] -> [b].

  7. mapMaybeMM :: Monad m => (a -> m (Maybe b)) -> m [a] -> m [b]

    Agda Agda.Utils.Monad

    A version of mapMaybeM with a computation for the input list.

  8. mapEither3M :: Applicative m => (a -> m (Either3 b c d)) -> [a] -> m ([b], [c], [d])

    Agda Agda.Utils.Three

    No documentation available.

  9. mapSubTries :: Ord k => (Trie k u -> Maybe v) -> Trie k u -> Trie k v

    Agda Agda.Utils.Trie

    Create new values based on the entire subtrie. Almost, but not quite comonad extend.

  10. mapFst :: (a -> c) -> (a, b) -> (c, b)

    Agda Agda.Utils.Tuple

    mapFst f = f -*- id
    

Page 315 of many | Previous | Next