Hoogle Search
Within LTS Haskell 24.3 (ghc-9.10.2)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
mapSpecItem_ :: (Item a -> Item b) -> SpecWith a -> SpecWith bhspec-core Test.Hspec.Core.Spec No documentation available.
-
pipes Pipes.Prelude Apply a function to all values flowing downstream, and forward each element of the result.
mapM :: Monad m => (a -> m b) -> Pipe a b m rpipes Pipes.Prelude Apply a monadic function to all values flowing downstream
mapM return = cat mapM (f >=> g) = mapM f >-> mapM g
mapM_ :: Monad m => (a -> m ()) -> Consumer' a m rpipes Pipes.Prelude Consume all values using a monadic function
mapMaybe :: forall (m :: Type -> Type) a b r . Functor m => (a -> Maybe b) -> Pipe a b m rpipes Pipes.Prelude (mapMaybe f) yields Just results of f. Basic laws:
mapMaybe (f >=> g) = mapMaybe f >-> mapMaybe g mapMaybe (pure @Maybe . f) = mapMaybe (Just . f) = map f mapMaybe (const Nothing) = drain
As a result of the second law,mapMaybe return = mapMaybe Just = cat
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.