replicate -package:Cabal -package:memory -package:conduit package:containers

replicate n x is a sequence consisting of n copies of x.
replicateA is an Applicative version of replicate, and makes <math> calls to liftA2 and pure.
replicateA n x = sequenceA (replicate n x)
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.