The functions compMin and compMax take the minimum and maximum, respectively, of a list of lists of integers (or elements of another partially ordered set) by considering each component separately.
|
|
|
The usage compMin(L1,L2) gives the same output as compMin {L1,L2}.
If L is empty it will be returned unchanged.
The object compMin is a method function.