PartialOrdLaws

zio.prelude.laws.PartialOrdLaws
object PartialOrdLaws extends Lawful[PartialOrd]

Attributes

Graph
Supertypes
trait ZLawful[PartialOrd, Any]
class Object
trait Matchable
class Any
Self type

Members list

Value members

Inherited methods

def +[Caps1 <: (PartialOrd), R1](that: ZLawful[Caps1, R1]): ZLawful[Caps1, R1]

Attributes

Inherited from:
ZLawful

Concrete fields

For all values a1 and a2, if a1 is less than or equal to a2 and a2 is less than or equal to a1 then a1 is equal to a2.

For all values a1 and a2, if a1 is less than or equal to a2 and a2 is less than or equal to a1 then a1 is equal to a2.

Attributes

For all values a1 and a2, if a1 is greater than or equal to a2 and a2 is greater than or equal to a1 then a1 is equal to a2.

For all values a1 and a2, if a1 is greater than or equal to a2 and a2 is greater than or equal to a1 then a1 is equal to a2.

Attributes

For all values a1 and a2, iff a1 =??= a2 is Ordering.Equals then a1 === a2.

For all values a1 and a2, iff a1 =??= a2 is Ordering.Equals then a1 === a2.

Attributes

lazy val laws: Laws[PartialOrd]

The set of all laws that instances of PartialOrd must satisfy.

The set of all laws that instances of PartialOrd must satisfy.

Attributes

For all values a1, a2, and a3, if a1 is less than a2 and a2 is less than a3 then a1 is less than a3.

For all values a1, a2, and a3, if a1 is less than a2 and a2 is less than a3 then a1 is less than a3.

Attributes

For all values a1, a2, and a3, if a1 is greater than a2 and a2 is greater than a3 then a1 is greater than a3.

For all values a1, a2, and a3, if a1 is greater than a2 and a2 is greater than a3 then a1 is greater than a3.

Attributes