PartialOrd

zio.prelude.PartialOrd
See thePartialOrd companion trait
object PartialOrd

Attributes

Companion
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
PartialOrd.type

Members list

Value members

Concrete methods

def apply[A](implicit ord: PartialOrd[A]): PartialOrd[A]

Summons an implicit PartialOrd[A].

Summons an implicit PartialOrd[A].

Attributes

def make[A](ord: (A, A) => PartialOrdering): PartialOrd[A]

Constructs an PartialOrd[A] from a function. The instance will be optimized to first compare the values for reference equality and then compare the values using the specified function.

Constructs an PartialOrd[A] from a function. The instance will be optimized to first compare the values for reference equality and then compare the values using the specified function.

Attributes

def makeFrom[A](ord: (A, A) => PartialOrdering, equal0: Equal[A]): PartialOrd[A]

Constructs an instance from an ord function and a equal0 function. Since this takes a separate equal0, short-circuiting the equality check (failing fast) is possible.

Constructs an instance from an ord function and a equal0 function. Since this takes a separate equal0, short-circuiting the equality check (failing fast) is possible.

Attributes

Implicits

Implicits

Derives an PartialOrd[Chunk[A]] given an PartialOrd[A].

Derives an PartialOrd[Chunk[A]] given an PartialOrd[A].

Attributes

implicit def DerivePartialOrd[F[_], A](implicit derive: Derive[F, PartialOrd], ord: PartialOrd[A]): PartialOrd[F[A]]

Derives an PartialOrd[F[A]] given a Derive[F, PartialOrd] and an PartialOrd[A].

Derives an PartialOrd[F[A]] given a Derive[F, PartialOrd] and an PartialOrd[A].

Attributes

Derives an PartialOrd[Either[A, B]] given an PartialOrd[A] and an PartialOrd[B].

Derives an PartialOrd[Either[A, B]] given an PartialOrd[A] and an PartialOrd[B].

Attributes

Derives an PartialOrd[List[A]] given an PartialOrd[A].

Derives an PartialOrd[List[A]] given an PartialOrd[A].

Attributes

Derives an PartialOrd[NonEmptyChunk[A]] given an PartialOrd[A].

Derives an PartialOrd[NonEmptyChunk[A]] given an PartialOrd[A].

Attributes

Derives an PartialOrd[Option[A]] given an PartialOrd[A]. None will be treated as less than all other values.

Derives an PartialOrd[Option[A]] given an PartialOrd[A]. None will be treated as less than all other values.

Attributes

The Contravariant instance for PartialOrd.

The Contravariant instance for PartialOrd.

Attributes

The IdentityBoth (and thus AssociativeBoth) instance for PartialOrd.

The IdentityBoth (and thus AssociativeBoth) instance for PartialOrd.

Attributes

The IdentityEither (and thus AssociativeEither) instance for PartialOrd.

The IdentityEither (and thus AssociativeEither) instance for PartialOrd.

Attributes

Derives an PartialOrd for a product type given an PartialOrd for each element of the product type.

Derives an PartialOrd for a product type given an PartialOrd for each element of the product type.

Attributes

Derives an PartialOrd for a product type given an PartialOrd for each element of the product type.

Derives an PartialOrd for a product type given an PartialOrd for each element of the product type.

Attributes

Derives an PartialOrd for a product type given an PartialOrd for each element of the product type.

Derives an PartialOrd for a product type given an PartialOrd for each element of the product type.

Attributes

Derives an PartialOrd for a product type given an PartialOrd for each element of the product type.

Derives an PartialOrd for a product type given an PartialOrd for each element of the product type.

Attributes

Derives an PartialOrd for a product type given an PartialOrd for each element of the product type.

Derives an PartialOrd for a product type given an PartialOrd for each element of the product type.

Attributes

Derives an PartialOrd for a product type given an PartialOrd for each element of the product type.

Derives an PartialOrd for a product type given an PartialOrd for each element of the product type.

Attributes

Derives an PartialOrd for a product type given an PartialOrd for each element of the product type.

Derives an PartialOrd for a product type given an PartialOrd for each element of the product type.

Attributes

Derives an PartialOrd for a product type given an PartialOrd for each element of the product type.

Derives an PartialOrd for a product type given an PartialOrd for each element of the product type.

Attributes

Derives an PartialOrd for a product type given an PartialOrd for each element of the product type.

Derives an PartialOrd for a product type given an PartialOrd for each element of the product type.

Attributes

Derives an PartialOrd for a product type given an PartialOrd for each element of the product type.

Derives an PartialOrd for a product type given an PartialOrd for each element of the product type.

Attributes

Derives an PartialOrd for a product type given an PartialOrd for each element of the product type.

Derives an PartialOrd for a product type given an PartialOrd for each element of the product type.

Attributes

Derives an PartialOrd for a product type given an PartialOrd for each element of the product type.

Derives an PartialOrd for a product type given an PartialOrd for each element of the product type.

Attributes

Derives an PartialOrd for a product type given an PartialOrd for each element of the product type.

Derives an PartialOrd for a product type given an PartialOrd for each element of the product type.

Attributes

Derives an PartialOrd for a product type given an PartialOrd for each element of the product type.

Derives an PartialOrd for a product type given an PartialOrd for each element of the product type.

Attributes

Derives an PartialOrd for a product type given an PartialOrd for each element of the product type.

Derives an PartialOrd for a product type given an PartialOrd for each element of the product type.

Attributes

Derives an PartialOrd for a product type given an PartialOrd for each element of the product type.

Derives an PartialOrd for a product type given an PartialOrd for each element of the product type.

Attributes

Derives an PartialOrd for a product type given an PartialOrd for each element of the product type.

Derives an PartialOrd for a product type given an PartialOrd for each element of the product type.

Attributes

Derives an PartialOrd for a product type given an PartialOrd for each element of the product type.

Derives an PartialOrd for a product type given an PartialOrd for each element of the product type.

Attributes

Derives an PartialOrd for a product type given an PartialOrd for each element of the product type.

Derives an PartialOrd for a product type given an PartialOrd for each element of the product type.

Attributes

Derives an PartialOrd for a product type given an PartialOrd for each element of the product type.

Derives an PartialOrd for a product type given an PartialOrd for each element of the product type.

Attributes

Derives an PartialOrd for a product type given an PartialOrd for each element of the product type.

Derives an PartialOrd for a product type given an PartialOrd for each element of the product type.

Attributes

Derives an PartialOrd[Vector[A]] given an PartialOrd[A].

Derives an PartialOrd[Vector[A]] given an PartialOrd[A].

Attributes