**Packages**- base
- QuickCheck
- containers

List of elements of a structure.

repeat x is an infinite list, with x the value of every element.

Returns no shrinking alternatives.

findIndicesL p finds all indices of elements that satisfy p, in ascending order.

findIndicesR p finds all indices of elements that satisfy p, in descending order.

iterate f x returns an infinite list of repeated applications of f to x:
> iterate f x == [x, f x, f (f x), ...]

The genericReplicate function is an overloaded version of replicate, which accepts any Integral value as the number of repetitions to make.

The intersperse function takes an element and a list and `intersperses' that element between the elements of the list. For example,
> intersperse ',' "abcde" == "a,b,c,d,e"

replicate n x is a list of length n with x the value of every element. It is an instance of the more general Data.List.genericReplicate, in which n may be of any integral type.

Shrink a fraction.

Shrink an integral number.

Identity function.

The call '(inline f)' reduces to f, but inline has a BuiltInRule that tries to inline f (if it has an unfolding) unconditionally The NOINLINE pragma arranges that inline only gets inlined (and hence eliminated) late in compilation, after the rule has had a good chance to fire.