Hoogle Search
Within LTS Haskell 24.28 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
ghc-lib GHC.CmmToAsm.Reg.Liveness No documentation available.
-
ghc-lib GHC.CmmToAsm.Reg.Liveness map a function across all the basic blocks in this code (monadic version)
mapLiveCmmDecl :: (instr -> b) -> LiveCmmDecl statics instr -> LiveCmmDecl statics bghc-lib GHC.CmmToAsm.Reg.Liveness Map over instruction type in LiveCmmDecl
mapSCCM :: Monad m => (a -> m b) -> SCC a -> m (SCC b)ghc-lib GHC.CmmToAsm.Reg.Liveness No documentation available.
-
ghc-lib GHC.CmmToAsm.Reg.Target No documentation available.
mapLabels :: PureSupernode node => (Label -> Label) -> node -> nodeghc-lib GHC.Data.Graph.Collapse No documentation available.
mapAndUnzipM :: Applicative m => (a -> m (b, c)) -> [a] -> m ([b], [c])ghc-lib GHC.HsToCore.Monad The mapAndUnzipM function maps its first argument over a list, returning the result as a pair of lists. This function is mainly used with complicated data structures or a state monad.
mapM :: (Traversable t, Monad m) => (a -> m b) -> t a -> m (t b)ghc-lib GHC.HsToCore.Monad 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.mapMaybeOccEnv :: (a -> Maybe b) -> OccEnv a -> OccEnv bghc-lib GHC.Plugins mapMaybe for b OccEnv.
mapMaybeOccEnv :: (a -> Maybe b) -> OccEnv a -> OccEnv bghc-lib GHC.Plugins mapMaybe for b OccEnv.