Instant is
off
Search plugin
Manual
haskell.org
replicateM
Packages
base
containers
replicateM
:: Monad m => Int -> m a -> m [a]
base
Control.Monad
replicateM
n act performs the action n times, gathering the results.
replicateM
:: Monad m => Int -> m a -> m (Seq a)
containers
Data.Sequence
replicateM
is a sequence counterpart of
replicateM
. > replicateM n x = sequence (replicate n x)
replicateM
_
:: Monad m => Int -> m a -> m ()
base
Control.Monad
Like
replicateM
, but discards the result.