replicate -package:Cabal -package:bytestring -is:exact package:dlist -is:exact

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