replicate -package:Cabal is:exact -package:bytestring -package:memory -package:streaming -package:protolude -package:vector package:streamly

>>> replicate n = Stream.take n . Stream.repeat
Generate a stream of length n by repeating a value n times.