Ord

scalus.prelude.Ord
See theOrd companion object
@FunctionalInterface
trait Ord[-A] extends (A, A) => Order, CompileDerivations

Attributes

Companion
object
Graph
Supertypes
trait (A, A) => Order
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

override def apply(lhs: A, rhs: A): Order

Attributes

Definition Classes
Function2

Concrete methods

inline def compare(inline lhs: A, inline rhs: A): Order
Extension method from Ord
def orElse(other: Ord[A]): Ord[A]
Extension method from Ord
def orElseBy[B : Ord](mapper: A => B): Ord[A]
Extension method from Ord

Inherited methods

def curried: A => A => Order

Attributes

Inherited from:
Function2
override def toString(): String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Function2 -> Any
Inherited from:
Function2
def tupled: ((A, A)) => Order

Attributes

Inherited from:
Function2