Source File

Comparable.hylo

Members

Subscripts

subscript min<T: Comparable>(_ x: T, _ y: T): T { let }

Returns the lesser of x and y.

subscript max<T: Comparable>(_ x: T, _ y: T): T { let }

Returns the greater of x and y.

Traits

trait Comparable

A type whose instances' values have a standard total ordering