Hoogle Search
Within LTS Haskell 24.6 (ghc-9.10.2)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
mapEither :: (Ord b, Ord c) => (a -> Either b c) -> MultiSet a -> (MultiSet b, MultiSet c)multiset Data.MultiSet mapMaybe :: Ord b => (a -> Maybe b) -> MultiSet a -> MultiSet bmultiset Data.MultiSet O(n). Map and collect the Just results.
mapMonotonic :: (a -> b) -> MultiSet a -> MultiSet bmultiset Data.MultiSet O(n). mapMonotonic f s == map f s, but works only when f is strictly monotonic. The precondition is not checked. Semi-formally, we have:
and [x < y ==> f x < f y | x <- ls, y <- ls] ==> mapMonotonic f s == map f s where ls = toList s
-
multistate Control.Monad.Trans.MultiGST No documentation available.
-
multistate Control.Monad.Trans.MultiGST.Lazy No documentation available.
-
multistate Control.Monad.Trans.MultiGST.Strict No documentation available.
-
multistate Control.Monad.Trans.MultiRWS No documentation available.
-
multistate Control.Monad.Trans.MultiRWS.Lazy No documentation available.
-
multistate Control.Monad.Trans.MultiRWS.Strict No documentation available.
-
multistate Control.Monad.Trans.MultiReader Map both the return value and the environment of a computation using the given function. Note that there is a difference to mtl's ReaderT, where it is not possible to modify the environment.