Documentation replicate/3
available from version beta

replicate/3

Generate list by replicating an element.

Description

replicate( ?term, +integer, ?list )

replicate(Term, Times, List) is true if and only if List is a list made up of the element Term replicated Times times.

Implementation