Ord

scalus.prelude.Ord
See theOrd companion trait
object Ord

Attributes

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

Members list

Value members

Concrete methods

inline def apply[A : Ord]: Ord[A]
def by[A, B : Ord](mapper: A => B): Ord[A]
def keyPairOrd[A : Ord, B]: Ord[(A, B)]

Concrete fields

lazy val sirDeps: List[SIRModuleWithDeps]
lazy val sirModule: Module

Givens

Givens

given given_Ord_A_B[A : Ord, B : Ord]: Ord[(A, B)]
given given_Ord_A_B_C[A : Ord, B : Ord, C : Ord]: Ord[(A, B, C)]
given given_Ord_BigInt: Ord[BigInt]
given given_Ord_Boolean: Ord[Boolean]
given given_Ord_Unit: Ord[Unit]

Extensions

Extensions

extension (self: BigInt)
infix inline def <(inline other: BigInt): Boolean
infix inline def <=(inline other: BigInt): Boolean
infix inline def >(inline other: BigInt): Boolean
infix inline def >=(inline other: BigInt): Boolean
infix inline def equiv(inline other: BigInt): Boolean
infix inline def nonEquiv(inline other: BigInt): Boolean
extension (self: Boolean)
infix inline def <(inline other: Boolean): Boolean
infix inline def <=(inline other: Boolean): Boolean
infix def >(other: Boolean): Boolean
infix def >=(other: Boolean): Boolean
infix def equiv(other: Boolean): Boolean
infix def nonEquiv(other: Boolean): Boolean
extension [A](self: A)(implicit evidence$1: Ord[A])
infix inline def <: Boolean
infix inline def <=: Boolean
infix inline def >: Boolean
infix inline def >=: Boolean
infix inline def equiv: Boolean
infix inline def nonEquiv: Boolean
extension [A](self: Ord[A])
inline def compare(inline lhs: A, inline rhs: A): Order
def equiv(lhs: A, rhs: A): Boolean
def gt(lhs: A, rhs: A): Boolean
def gteq(lhs: A, rhs: A): Boolean
def lt(lhs: A, rhs: A): Boolean
def lteq(lhs: A, rhs: A): Boolean
def nonEquiv(lhs: A, rhs: A): Boolean
def orElse(other: Ord[A]): Ord[A]
def orElseBy[B : Ord](mapper: A => B): Ord[A]