replicate -package:Cabal is:exact -package:bytestring -package:hedgehog -package:vector -package:memory -package:text-short package:streamly

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