replicate -package:Cabal -package:containers -package:bytestring -package:ghc is:exact -package:dlist -package:vector -package:non-empty package:numeric-prelude

replicate n x is a list of length n with x the value of every element. It is an instance of the more general genericReplicate, in which n may be of any integral type.