Exemple #1
0
def replicate_m_(monad_t, replications, monad_item):
    "Like replicateM, but discards the result."
    return sequence_(monad_t, func.replicate(monad_item, replications))
Exemple #2
0
def replicate_m_(monad_t, replications, monad_item):
    "Like replicateM, but discards the result."
    return sequence_(monad_t, func.replicate(monad_item, replications))
Exemple #3
0
def replicate_m(monad_t, replications, monad_item):
    "Generalized replicate for monads. Preforms the action n times."
    return sequence(monad_t, func.replicate(monad_item, replications))
Exemple #4
0
def replicate_m(monad_t, replications, monad_item):
    "Generalized replicate for monads. Preforms the action n times."
    return sequence(monad_t, func.replicate(monad_item, replications))