replicate -package:Cabal -package:bytestring -package:containers package:dlist

replicate n x is a DList of length n with x as the value of every element. <math>(n). replicate obeys the law:
toList (replicate n x) = replicate n x