replicate -package:Cabal -package:base -package:hedgehog -package:conduit -package:containers package:filepath

O(n) replicate n x is a ByteString of length n with x the value of every element. The following holds:
replicate w c = unfoldr w (\u -> Just (u,u)) c
O(n) replicate n x is a ByteString of length n with x the value of every element. The following holds:
replicate w c = unfoldr w (\u -> Just (u,u)) c