Music.Theory.Monad
Description
Monad functions.
repeatM_ :: Monad m => m a -> m () Source #
sequence_ of repeat.
sequence_
repeat
iterateM_ :: Monad m => (st -> m st) -> st -> m () Source #
Monadic variant of iterate.
iterate
concatMapM :: (Functor m, Monad m) => (t -> m [u]) -> [t] -> m [u] Source #
fmap of concat of mapM
fmap
concat
mapM
m_if :: Monad m => (m Bool, m t, m t) -> m t Source #
If i then j else k.