replicate -package:Cabal -package:containers -package:ghc -package:bytestring -package:vector package:ListLike

Generate a structure with the specified length with every element set to the item passed in. See also genericReplicate
Generic version of replicate