Hoogle Search
Within LTS Haskell 24.40 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
mappend :: Monoid a => a -> a -> acalligraphy Calligraphy.Prelude An associative operation NOTE: This method is redundant and has the default implementation mappend = (<>) since base-4.11.0.0. Should it be implemented manually, since mappend is a synonym for (<>), it is expected that the two functions are defined the same way. In a future GHC release mappend will be removed from Monoid.
mapError :: (MonadError e m, MonadError e' n) => (m (Either e a) -> n (Either e' b)) -> m a -> n bcan-i-haz Control.Monad.Except.CoHas MonadError analogue of the mapExceptT function. The computation is unwrapped, a function is applied to the Either, and the result is lifted into the second MonadError instance.
mapExcept :: (Either e a -> Either e' b) -> Except e a -> Except e' bcan-i-haz Control.Monad.Except.CoHas Map the unwrapped computation using the given function.
mapExceptT :: (m (Either e a) -> n (Either e' b)) -> ExceptT e m a -> ExceptT e' n bcan-i-haz Control.Monad.Except.CoHas Map the unwrapped computation using the given function.
runExceptT (mapExceptT f m) = f (runExceptT m)
mapReader :: (a -> b) -> Reader r a -> Reader r bcan-i-haz Control.Monad.Reader.Has Transform the value returned by a Reader.
mapReaderT :: (m a -> n b) -> ReaderT r m a -> ReaderT r n bcan-i-haz Control.Monad.Reader.Has Transform the computation inside a ReaderT.
runReaderT (mapReaderT f m) = f . runReaderT m
mapMaybeVarEnv :: (a -> Maybe b) -> VarEnv a -> VarEnv bclash-lib Clash.Core.VarEnv Apply a function to every element in the environment; values for which the function returns Nothing are removed from the environment
mapVarEnv :: (a -> b) -> VarEnv a -> VarEnv bclash-lib Clash.Core.VarEnv Apply a function to every element in the environment
mapMaybe :: (a -> Maybe b) -> UniqMap a -> UniqMap bclash-lib Clash.Data.UniqMap Apply a function to all elements in the map, keeping those where the result is not Nothing.
-
code-conjure Conjure.Engine > map' absE (unit one) map abs [1] :: [Int]