replicate -package:Cabal -package:containers -package:bytestring package:streaming

Repeat an element several times.
Repeat a functorial layer, command or instruction a fixed number of times.
replicates n = takes n . repeats
Repeat an action several times, streaming its results.
>>> S.print $ S.replicateM 2 getCurrentTime
2015-08-18 00:57:36.124508 UTC
2015-08-18 00:57:36.124785 UTC