func maxElement<R : SequenceType where R.Generator.Element : Comparable>(_: R) Returns the maximum element in elements. Requires: elements is non-empty. O(count(elements)) Declaration func maxElement<R : SequenceType where R.Generator.Element : Comparable>(elements: R) -> R.Generator.Element