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

Type members

Classlikes

enum Order

Attributes

Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

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)]

Givens

Givens

given given_Eq_Order: () => Order
given given_Ord_A_B[A : Ord, B : Ord]: Ord[(A, B)]
given given_Ord_BigInt: Ord[BigInt]

Extensions

Extensions

extension (self: Order)
def isEqual: Boolean
def isGreater: Boolean
def isGreaterEqual: Boolean
def isLess: Boolean
def isLessEqual: Boolean
def nonEqual: Boolean
extension [A](self: A)(implicit evidence$1: Ord[A])
def <: Boolean
def <=: Boolean
inline def <=>: Order
def >: Boolean
def >=: Boolean
def equiv: Boolean
def nonEquiv: Boolean
extension [A](self: Ord[A])
inline def compare(inline lhs: A, inline rhs: A): Order
def orElse(other: Ord[A]): Ord[A]
def orElseBy[B : Ord](mapper: A => B): Ord[A]
extension (self: ByteString)
inline def <(other: ByteString): Boolean
inline def <=(other: ByteString): Boolean
inline def >(other: ByteString): Boolean
inline def >=(other: ByteString): Boolean
inline def equiv(other: ByteString): Boolean
inline def nonEquiv(other: ByteString): Boolean
extension (self: BigInt)
inline def <(other: BigInt): Boolean
inline def <=(other: BigInt): Boolean
inline def >(other: BigInt): Boolean
inline def >=(other: BigInt): Boolean
inline def equiv(other: BigInt): Boolean
inline def nonEquiv(other: BigInt): Boolean