replicate : 'a -> int -> 'a list
SYNOPSIS
Makes a list consisting of a value replicated a specified number of times.
DESCRIPTION
replicate x n
returns
[x;...;x]
, a list of length
n
.
FAILURE CONDITIONS
Fails if number of replications is less than zero.