Documentation max_list/2
available from version beta

max_list/2

Largest element of a list.

Description

max_list( +list, -number )

max_list(List, Max) is true if and only if Max is the largest element on the list List.

Implementation