Plan 9 from Bell Labs’s /usr/web/sources/contrib/fernan/nhc98/src/prelude/List/GenericReplicate.hs
module List where import GenericTake genericReplicate :: (Integral i) => i -> a -> [a] genericReplicate n x = genericTake n (repeat x)