Hoogle Search
Within LTS Haskell 24.33 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
mapStateVar :: (b -> a) -> (a -> b) -> StateVar a -> StateVar bStateVar Data.StateVar Change the type of a StateVar
mapFromUnboxed :: PrimType a => (a -> b) -> UArray a -> Array bbasement Basement.BoxedArray No documentation available.
mapToUnboxed :: PrimType b => (a -> b) -> Array a -> UArray bbasement Basement.BoxedArray No documentation available.
mappend :: Monoid a => a -> a -> abasement Basement.Compat.Base 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.
mappend :: Monoid a => a -> a -> abasement Basement.Imports 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.
mapM :: forall m a b (n :: Nat) . Monad m => (a -> m b) -> ListN n a -> m (ListN n b)basement Basement.Sized.List Map each element of a List to a monadic action, evaluate these actions sequentially and collect the results
mapM_ :: forall m a b (n :: Nat) . Monad m => (a -> m b) -> ListN n a -> m ()basement Basement.Sized.List Map each element of a List to a monadic action, evaluate these actions sequentially and ignore the results
mapi :: forall a b (n :: Nat) . (Natural -> a -> b) -> ListN n a -> ListN n bbasement Basement.Sized.List Map all elements in a list with an additional index
mapIndex :: (PrimType a, PrimType b) => (Offset b -> a -> b) -> UArray a -> UArray bbasement Basement.UArray No documentation available.
mapSeverity :: (Severity -> Severity) -> WithSeverity msg -> WithSeverity msgco-log-core Colog.Core.Severity Map the given function over the severity of a WithSeverity. This can be useful to operate generically over the severity, for example:
suppressErrors :: LogAction m (WithSeverity msg) -> LogAction m (WithSeverity msg) suppressErrors = cmap (mapSeverity (s -> if s == Error then Warning else s))