hmt-base-0.20: Haskell Music Theory Base
Safe HaskellSafe-Inferred
LanguageHaskell2010

Music.Theory.Monad

Description

Monad functions.

Synopsis

Documentation

repeatM_ :: Monad m => m a -> m () Source #

iterateM_ :: Monad m => (st -> m st) -> st -> m () Source #

Monadic variant of iterate.

concatMapM :: (Functor m, Monad m) => (t -> m [u]) -> [t] -> m [u] Source #

m_if :: Monad m => (m Bool, m t, m t) -> m t Source #

If i then j else k.