hmgit-1.0.0: The subset of awesome content tracker Git
Safe HaskellNone
LanguageHaskell2010

HMGit.Internal.Utils

Documentation

strictOne :: (MonadPlus m, MonadThrow m) => [a] -> m a Source #

foldMapM :: (Monad m, Monoid w, Foldable t) => (a -> m w) -> t a -> m w Source #

foldChoice :: (Foldable t, Alternative f) => (a -> f b) -> t a -> f b Source #

foldChoiceM :: (Monad m, Alternative f, Foldable t) => (a -> m (f b)) -> t a -> m (f b) Source #

first3M :: Functor m => (a -> m a') -> (a, b, c) -> m (a', b, c) Source #

(?*>) :: Alternative f => Bool -> f a -> f a Source #

(??) :: Functor f => f (a -> b) -> a -> f b Source #

bothM :: Monad m => (a -> m b) -> (a, a) -> m (b, b) Source #

hexStr :: (MonoFoldable mono, PrintfArg (Element mono)) => mono -> String Source #