Hoogle Search
Within LTS Haskell 24.38 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
adjustM' :: (Functor f, Ord k) => (v -> f (a, v)) -> k -> Map k v -> f (a, Map k v)Agda Agda.Utils.Map Wrapper for adjustM for convenience.
allJustM :: Monad m => [m (Maybe a)] -> m (Maybe [a])Agda Agda.Utils.Maybe Lazy version of allJust . sequence. (allJust = mapM for the Maybe monad.) Only executes monadic effect while isJust.
ifJust :: Maybe a -> (a -> b) -> b -> bAgda Agda.Utils.Maybe caseMaybe with flipped branches.
ifJustM :: Monad m => m (Maybe a) -> (a -> m b) -> m b -> m bAgda Agda.Utils.Maybe caseMaybeM with flipped branches.
whenJust :: Monad m => Maybe a -> (a -> m ()) -> m ()Agda Agda.Utils.Maybe A more telling name for forM_ for the Maybe collection type. Or: caseMaybe without the Nothing case.
whenJustM :: Monad m => m (Maybe a) -> (a -> m ()) -> m ()Agda Agda.Utils.Maybe caseMaybeM without the Nothing case.
ifJustM :: Monad m => m (Maybe a) -> (a -> m b) -> m b -> m bAgda Agda.Utils.Maybe.Strict caseMaybeM with flipped branches.
whenJust :: Monad m => Maybe a -> (a -> m ()) -> m ()Agda Agda.Utils.Maybe.Strict A more telling name for forM for the Maybe collection type. Or: caseMaybe without the Nothing case.
whenJustM :: Monad m => m (Maybe a) -> (a -> m ()) -> m ()Agda Agda.Utils.Maybe.Strict caseMaybeM without the Nothing case.
adjust :: Ord k => [k] -> (Maybe v -> Maybe v) -> Trie k v -> Trie k vAgda Agda.Utils.Trie Adjust value at key, leave subtree intact. Disclaimer: may return a non-canoncial trie because it does not clean up subtries that become empty.