Hoogle Search
Within LTS Haskell 24.45 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
mapFst :: Functor f => (t -> t2) -> f (t, t1) -> f (t2, t1)regex-tdfa Text.Regex.TDFA.Common No documentation available.
mapSnd :: Functor f => (t1 -> t2) -> f (t, t1) -> f (t, t2)regex-tdfa Text.Regex.TDFA.Common No documentation available.
mapCArrayWithLength :: (Storable a, Integral b) => b -> (a -> IO c) -> Ptr a -> IO ()haskell-gi-base Data.GI.Base.BasicConversions No documentation available.
mapGArray :: Storable a => (a -> IO b) -> Ptr (GArray a) -> IO ()haskell-gi-base Data.GI.Base.BasicConversions No documentation available.
mapGList :: (Ptr a -> IO b) -> Ptr (GList (Ptr a)) -> IO ()haskell-gi-base Data.GI.Base.BasicConversions No documentation available.
mapGSList :: (Ptr a -> IO b) -> Ptr (GSList (Ptr a)) -> IO ()haskell-gi-base Data.GI.Base.BasicConversions No documentation available.
mapPtrArray :: (Ptr a -> IO b) -> Ptr (GPtrArray (Ptr a)) -> IO ()haskell-gi-base Data.GI.Base.BasicConversions No documentation available.
mapZeroTerminatedCArray :: (Ptr a -> IO b) -> Ptr (Ptr a) -> IO ()haskell-gi-base Data.GI.Base.BasicConversions No documentation available.
mapGValueArrayWithLength :: Integral a => a -> (Ptr GValue -> IO c) -> Ptr GValue -> IO ()haskell-gi-base Data.GI.Base.GValue Map over the GValues inside a C array.
mapM :: (Traversable t, Monad m) => (a -> m b) -> t a -> m (t b)haskell-gi-base Data.GI.Base.ShortPrelude Map each element of a structure to a monadic action, evaluate these actions from left to right, and collect the results. For a version that ignores the results see mapM_.
Examples
mapM is literally a traverse with a type signature restricted to Monad. Its implementation may be more efficient due to additional power of Monad.