replicateM package:rio

replicateM is a sequence counterpart of replicateM.
replicateM n x = sequence (replicate n x)
For base >= 4.8.0 and containers >= 0.5.11, replicateM is a synonym for replicateA.
O(n) Execute the monadic action the given number of times and store the results in a vector.
O(n) Execute the monadic action the given number of times and store the results in a vector.
O(n) Execute the monadic action the given number of times and store the results in a vector.
O(n) Execute the monadic action the given number of times and store the results in a vector.
Like replicateM, but discards the result.