LazyListPartialOrder

class LazyListPartialOrder[A](ev: PartialOrder[A]) extends PartialOrder[LazyList[A]]
trait PartialOrder[LazyList[A]]
trait Eq[LazyList[A]]
trait Serializable
class Object
trait Matchable
class Any

Value members

Concrete methods

def partialCompare(xs: LazyList[A], ys: LazyList[A]): Double

Inherited methods

def eqv(x: LazyList[A], y: LazyList[A]): Boolean

Returns true if x = y, false otherwise.

Returns true if x = y, false otherwise.

Inherited from
PartialOrder
def gt(x: LazyList[A], y: LazyList[A]): Boolean

Returns true if x > y, false otherwise.

Returns true if x > y, false otherwise.

Inherited from
PartialOrder
def gteqv(x: LazyList[A], y: LazyList[A]): Boolean

Returns true if x >= y, false otherwise.

Returns true if x >= y, false otherwise.

Inherited from
PartialOrder
def lt(x: LazyList[A], y: LazyList[A]): Boolean

Returns true if x < y, false otherwise.

Returns true if x < y, false otherwise.

Inherited from
PartialOrder
def lteqv(x: LazyList[A], y: LazyList[A]): Boolean

Returns true if x <= y, false otherwise.

Returns true if x <= y, false otherwise.

Inherited from
PartialOrder
def neqv(x: LazyList[A], y: LazyList[A]): Boolean

Returns false if x and y are equivalent, true otherwise.

Returns false if x and y are equivalent, true otherwise.

Inherited from
Eq
def partialComparison(x: LazyList[A], y: LazyList[A]): Option[Comparison]

Like partialCompare, but returns a cats.kernel.Comparison instead of an Double. Has the benefit of being able to pattern match on, but not as performant.

Like partialCompare, but returns a cats.kernel.Comparison instead of an Double. Has the benefit of being able to pattern match on, but not as performant.

Inherited from
PartialOrder
def pmax(x: LazyList[A], y: LazyList[A]): Option[LazyList[A]]

Returns Some(x) if x >= y, Some(y) if x < y, otherwise None.

Returns Some(x) if x >= y, Some(y) if x < y, otherwise None.

Inherited from
PartialOrder
def pmin(x: LazyList[A], y: LazyList[A]): Option[LazyList[A]]

Returns Some(x) if x <= y, Some(y) if x > y, otherwise None.

Returns Some(x) if x <= y, Some(y) if x > y, otherwise None.

Inherited from
PartialOrder
def tryCompare(x: LazyList[A], y: LazyList[A]): Option[Int]

Result of comparing x with y. Returns None if operands are not comparable. If operands are comparable, returns Some[Int] where the Int sign is:

Result of comparing x with y. Returns None if operands are not comparable. If operands are comparable, returns Some[Int] where the Int sign is:

  • negative iff x < y
  • zero iff x = y
  • positive iff x > y
Inherited from
PartialOrder