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.
mapEither3M :: Applicative m => (a -> m (Either3 b c d)) -> [a] -> m ([b], [c], [d])Agda Agda.Utils.Three No documentation available.
mapSubTries :: Ord k => (Trie k u -> Maybe v) -> Trie k u -> Trie k vAgda Agda.Utils.Trie Create new values based on the entire subtrie. Almost, but not quite comonad extend.
mapFst :: (a -> c) -> (a, b) -> (c, b)Agda Agda.Utils.Tuple mapFst f = f -*- id
mapFstM :: Functor m => (a -> m c) -> (a, b) -> m (c, b)Agda Agda.Utils.Tuple Monadic mapFst.
mapPairM :: Applicative m => (a -> m c) -> (b -> m d) -> (a, b) -> m (c, d)Agda Agda.Utils.Tuple Monadic version of -*-.
mapSnd :: (b -> d) -> (a, b) -> (a, d)Agda Agda.Utils.Tuple mapSnd g = id -*- g
mapSndM :: Functor m => (b -> m d) -> (a, b) -> m (a, d)Agda Agda.Utils.Tuple Monadic mapSnd.
mapChangeT :: (m (a, Any) -> n (b, Any)) -> ChangeT m a -> ChangeT n bAgda Agda.Utils.Update Map a ChangeT computation (monad transformer action).
mapMonotonic :: (Key -> Key) -> IntSet -> IntSetAgda Agda.Utils.VarSet The mapMonotonic f s == map f s, but works only when f is strictly increasing. 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
mapValue :: forall a (b :: Bool) . Boolean a => (a -> a) -> WithDefault' a b -> WithDefault' a bAgda Agda.Utils.WithDefault Only modify non-Default values.