Equal

zio.prelude.Equal
See theEqual companion object
trait Equal[-A]

Equal[A] provides implicit evidence that two values of type A can be compared for equality.

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait AssociativeEqual[A]
trait CommutativeEqual[A]
trait EqualIdempotent[A]
trait EqualIdentity[A]
trait EqualInverse[A]
trait AbsorptionEqual[A]
trait InvolutionEqual[A]
trait Hash[A]
trait HashPartialOrd[A]
trait HashOrd[A]
trait PartialOrd[A]
trait Ord[A]
Show all
Self type
Equal[A]

Members list

Value members

Concrete methods

final def both[B](that: => Equal[B]): Equal[(A, B)]
Implicitly added by ChunkEqual

Constructs an Equal[(A, B)] given an Equal[A] and Equal[B] by first comparing the A values for equality and then comparing the B values for equality, if necessary.

Constructs an Equal[(A, B)] given an Equal[A] and Equal[B] by first comparing the A values for equality and then comparing the B values for equality, if necessary.

Attributes

final def both[B](that: => Equal[B]): Equal[(A, B)]
Implicitly added by ExitEqual

Constructs an Equal[(A, B)] given an Equal[A] and Equal[B] by first comparing the A values for equality and then comparing the B values for equality, if necessary.

Constructs an Equal[(A, B)] given an Equal[A] and Equal[B] by first comparing the A values for equality and then comparing the B values for equality, if necessary.

Attributes

final def both[B](that: => Equal[B]): Equal[(A, B)]
Implicitly added by ListEqual

Constructs an Equal[(A, B)] given an Equal[A] and Equal[B] by first comparing the A values for equality and then comparing the B values for equality, if necessary.

Constructs an Equal[(A, B)] given an Equal[A] and Equal[B] by first comparing the A values for equality and then comparing the B values for equality, if necessary.

Attributes

final def both[B](that: => PartialOrd[B]): PartialOrd[(A, B)]
Implicitly added by MapPartialOrd

Constructs an PartialOrd[(A, B)] given an PartialOrd[A] and PartialOrd[B] by first comparing the A values, and then if the A values are equal comparing the B values

Constructs an PartialOrd[(A, B)] given an PartialOrd[A] and PartialOrd[B] by first comparing the A values, and then if the A values are equal comparing the B values

Attributes

final def both[B](that: => Equal[B]): Equal[(A, B)]
Implicitly added by NonEmptyChunkEqual

Constructs an Equal[(A, B)] given an Equal[A] and Equal[B] by first comparing the A values for equality and then comparing the B values for equality, if necessary.

Constructs an Equal[(A, B)] given an Equal[A] and Equal[B] by first comparing the A values for equality and then comparing the B values for equality, if necessary.

Attributes

final def both[B](that: => Equal[B]): Equal[(A, B)]
Implicitly added by OptionEqual

Constructs an Equal[(A, B)] given an Equal[A] and Equal[B] by first comparing the A values for equality and then comparing the B values for equality, if necessary.

Constructs an Equal[(A, B)] given an Equal[A] and Equal[B] by first comparing the A values for equality and then comparing the B values for equality, if necessary.

Attributes

final def both[B](that: => Equal[B]): Equal[(A, B)]
Implicitly added by TryEqual

Constructs an Equal[(A, B)] given an Equal[A] and Equal[B] by first comparing the A values for equality and then comparing the B values for equality, if necessary.

Constructs an Equal[(A, B)] given an Equal[A] and Equal[B] by first comparing the A values for equality and then comparing the B values for equality, if necessary.

Attributes

final def both[B](that: => Equal[B]): Equal[(A, B)]
Implicitly added by VectorEqual

Constructs an Equal[(A, B)] given an Equal[A] and Equal[B] by first comparing the A values for equality and then comparing the B values for equality, if necessary.

Constructs an Equal[(A, B)] given an Equal[A] and Equal[B] by first comparing the A values for equality and then comparing the B values for equality, if necessary.

Attributes

final def both[B](that: => Equal[B]): Equal[(A, B)]

Constructs an Equal[(A, B)] given an Equal[A] and Equal[B] by first comparing the A values for equality and then comparing the B values for equality, if necessary.

Constructs an Equal[(A, B)] given an Equal[A] and Equal[B] by first comparing the A values for equality and then comparing the B values for equality, if necessary.

Attributes

final def bothWith[B, C](that: => Equal[B])(f: C => (A, B)): Equal[C]
Implicitly added by ChunkEqual

Constructs an Equal[C] given an Equal[A], an Equal[B] and a function f to transform a C value into an (A, B). The instance will convert each C value into an (A, B), compare the A values for equality, and then compare the B values for equality if necessary.

Constructs an Equal[C] given an Equal[A], an Equal[B] and a function f to transform a C value into an (A, B). The instance will convert each C value into an (A, B), compare the A values for equality, and then compare the B values for equality if necessary.

Attributes

final def bothWith[B, C](that: => Equal[B])(f: C => (A, B)): Equal[C]
Implicitly added by ExitEqual

Constructs an Equal[C] given an Equal[A], an Equal[B] and a function f to transform a C value into an (A, B). The instance will convert each C value into an (A, B), compare the A values for equality, and then compare the B values for equality if necessary.

Constructs an Equal[C] given an Equal[A], an Equal[B] and a function f to transform a C value into an (A, B). The instance will convert each C value into an (A, B), compare the A values for equality, and then compare the B values for equality if necessary.

Attributes

final def bothWith[B, C](that: => Equal[B])(f: C => (A, B)): Equal[C]
Implicitly added by ListEqual

Constructs an Equal[C] given an Equal[A], an Equal[B] and a function f to transform a C value into an (A, B). The instance will convert each C value into an (A, B), compare the A values for equality, and then compare the B values for equality if necessary.

Constructs an Equal[C] given an Equal[A], an Equal[B] and a function f to transform a C value into an (A, B). The instance will convert each C value into an (A, B), compare the A values for equality, and then compare the B values for equality if necessary.

Attributes

final def bothWith[B, C](that: => PartialOrd[B])(f: C => (A, B)): PartialOrd[C]
Implicitly added by MapPartialOrd

Constructs an PartialOrd[C] given an PartialOrd[A], an PartialOrd[B] and a function f to transform a C value into an (A, B). The instance will convert each C value into an (A, B), compare the A values, and then if the A values are equal compare the B values.

Constructs an PartialOrd[C] given an PartialOrd[A], an PartialOrd[B] and a function f to transform a C value into an (A, B). The instance will convert each C value into an (A, B), compare the A values, and then if the A values are equal compare the B values.

Attributes

final def bothWith[B, C](that: => Equal[B])(f: C => (A, B)): Equal[C]
Implicitly added by NonEmptyChunkEqual

Constructs an Equal[C] given an Equal[A], an Equal[B] and a function f to transform a C value into an (A, B). The instance will convert each C value into an (A, B), compare the A values for equality, and then compare the B values for equality if necessary.

Constructs an Equal[C] given an Equal[A], an Equal[B] and a function f to transform a C value into an (A, B). The instance will convert each C value into an (A, B), compare the A values for equality, and then compare the B values for equality if necessary.

Attributes

final def bothWith[B, C](that: => Equal[B])(f: C => (A, B)): Equal[C]
Implicitly added by OptionEqual

Constructs an Equal[C] given an Equal[A], an Equal[B] and a function f to transform a C value into an (A, B). The instance will convert each C value into an (A, B), compare the A values for equality, and then compare the B values for equality if necessary.

Constructs an Equal[C] given an Equal[A], an Equal[B] and a function f to transform a C value into an (A, B). The instance will convert each C value into an (A, B), compare the A values for equality, and then compare the B values for equality if necessary.

Attributes

final def bothWith[B, C](that: => Equal[B])(f: C => (A, B)): Equal[C]
Implicitly added by TryEqual

Constructs an Equal[C] given an Equal[A], an Equal[B] and a function f to transform a C value into an (A, B). The instance will convert each C value into an (A, B), compare the A values for equality, and then compare the B values for equality if necessary.

Constructs an Equal[C] given an Equal[A], an Equal[B] and a function f to transform a C value into an (A, B). The instance will convert each C value into an (A, B), compare the A values for equality, and then compare the B values for equality if necessary.

Attributes

final def bothWith[B, C](that: => Equal[B])(f: C => (A, B)): Equal[C]
Implicitly added by VectorEqual

Constructs an Equal[C] given an Equal[A], an Equal[B] and a function f to transform a C value into an (A, B). The instance will convert each C value into an (A, B), compare the A values for equality, and then compare the B values for equality if necessary.

Constructs an Equal[C] given an Equal[A], an Equal[B] and a function f to transform a C value into an (A, B). The instance will convert each C value into an (A, B), compare the A values for equality, and then compare the B values for equality if necessary.

Attributes

final def bothWith[B, C](that: => Equal[B])(f: C => (A, B)): Equal[C]

Constructs an Equal[C] given an Equal[A], an Equal[B] and a function f to transform a C value into an (A, B). The instance will convert each C value into an (A, B), compare the A values for equality, and then compare the B values for equality if necessary.

Constructs an Equal[C] given an Equal[A], an Equal[B] and a function f to transform a C value into an (A, B). The instance will convert each C value into an (A, B), compare the A values for equality, and then compare the B values for equality if necessary.

Attributes

def compare(l: A, r: A): PartialOrdering
Implicitly added by MapPartialOrd

Returns the result of comparing two values of type A.

Returns the result of comparing two values of type A.

Attributes

def contramap[B](f: B => A): Equal[B]
Implicitly added by ChunkEqual

Constructs an Equal[B] given an Equal[A] and a function f to transform a B value into an A value. The instance will convert each B value into an A and the compare the A values for equality.

Constructs an Equal[B] given an Equal[A] and a function f to transform a B value into an A value. The instance will convert each B value into an A and the compare the A values for equality.

Attributes

def contramap[B](f: B => A): Equal[B]
Implicitly added by ExitEqual

Constructs an Equal[B] given an Equal[A] and a function f to transform a B value into an A value. The instance will convert each B value into an A and the compare the A values for equality.

Constructs an Equal[B] given an Equal[A] and a function f to transform a B value into an A value. The instance will convert each B value into an A and the compare the A values for equality.

Attributes

def contramap[B](f: B => A): Equal[B]
Implicitly added by ListEqual

Constructs an Equal[B] given an Equal[A] and a function f to transform a B value into an A value. The instance will convert each B value into an A and the compare the A values for equality.

Constructs an Equal[B] given an Equal[A] and a function f to transform a B value into an A value. The instance will convert each B value into an A and the compare the A values for equality.

Attributes

def contramap[B](f: B => A): Equal[B]
Implicitly added by NonEmptyChunkEqual

Constructs an Equal[B] given an Equal[A] and a function f to transform a B value into an A value. The instance will convert each B value into an A and the compare the A values for equality.

Constructs an Equal[B] given an Equal[A] and a function f to transform a B value into an A value. The instance will convert each B value into an A and the compare the A values for equality.

Attributes

def contramap[B](f: B => A): Equal[B]
Implicitly added by OptionEqual

Constructs an Equal[B] given an Equal[A] and a function f to transform a B value into an A value. The instance will convert each B value into an A and the compare the A values for equality.

Constructs an Equal[B] given an Equal[A] and a function f to transform a B value into an A value. The instance will convert each B value into an A and the compare the A values for equality.

Attributes

def contramap[B](f: B => A): Equal[B]
Implicitly added by TryEqual

Constructs an Equal[B] given an Equal[A] and a function f to transform a B value into an A value. The instance will convert each B value into an A and the compare the A values for equality.

Constructs an Equal[B] given an Equal[A] and a function f to transform a B value into an A value. The instance will convert each B value into an A and the compare the A values for equality.

Attributes

def contramap[B](f: B => A): Equal[B]
Implicitly added by VectorEqual

Constructs an Equal[B] given an Equal[A] and a function f to transform a B value into an A value. The instance will convert each B value into an A and the compare the A values for equality.

Constructs an Equal[B] given an Equal[A] and a function f to transform a B value into an A value. The instance will convert each B value into an A and the compare the A values for equality.

Attributes

def contramap[B](f: B => A): Equal[B]

Constructs an Equal[B] given an Equal[A] and a function f to transform a B value into an A value. The instance will convert each B value into an A and the compare the A values for equality.

Constructs an Equal[B] given an Equal[A] and a function f to transform a B value into an A value. The instance will convert each B value into an A and the compare the A values for equality.

Attributes

final def either[B](that: => Equal[B]): Equal[Either[A, B]]
Implicitly added by ChunkEqual

Constructs an Equal[Either[A, B]] given an Equal[A] and an Equal[B]. The instance will compare the Either[A, B] values and if both are Right or Left compare them for equality.

Constructs an Equal[Either[A, B]] given an Equal[A] and an Equal[B]. The instance will compare the Either[A, B] values and if both are Right or Left compare them for equality.

Attributes

final def either[B](that: => Equal[B]): Equal[Either[A, B]]
Implicitly added by ExitEqual

Constructs an Equal[Either[A, B]] given an Equal[A] and an Equal[B]. The instance will compare the Either[A, B] values and if both are Right or Left compare them for equality.

Constructs an Equal[Either[A, B]] given an Equal[A] and an Equal[B]. The instance will compare the Either[A, B] values and if both are Right or Left compare them for equality.

Attributes

final def either[B](that: => Equal[B]): Equal[Either[A, B]]
Implicitly added by ListEqual

Constructs an Equal[Either[A, B]] given an Equal[A] and an Equal[B]. The instance will compare the Either[A, B] values and if both are Right or Left compare them for equality.

Constructs an Equal[Either[A, B]] given an Equal[A] and an Equal[B]. The instance will compare the Either[A, B] values and if both are Right or Left compare them for equality.

Attributes

final def either[B](that: => PartialOrd[B]): PartialOrd[Either[A, B]]
Implicitly added by MapPartialOrd

Constructs an PartialOrd[Either[A, B]] given an PartialOrd[A] and an PartialOrd[B]. If one value is Left and one value is Right it will treat the Left value as less than the Right value. Otherwise, it will compare the two values.

Constructs an PartialOrd[Either[A, B]] given an PartialOrd[A] and an PartialOrd[B]. If one value is Left and one value is Right it will treat the Left value as less than the Right value. Otherwise, it will compare the two values.

Attributes

final def either[B](that: => Equal[B]): Equal[Either[A, B]]
Implicitly added by NonEmptyChunkEqual

Constructs an Equal[Either[A, B]] given an Equal[A] and an Equal[B]. The instance will compare the Either[A, B] values and if both are Right or Left compare them for equality.

Constructs an Equal[Either[A, B]] given an Equal[A] and an Equal[B]. The instance will compare the Either[A, B] values and if both are Right or Left compare them for equality.

Attributes

final def either[B](that: => Equal[B]): Equal[Either[A, B]]
Implicitly added by OptionEqual

Constructs an Equal[Either[A, B]] given an Equal[A] and an Equal[B]. The instance will compare the Either[A, B] values and if both are Right or Left compare them for equality.

Constructs an Equal[Either[A, B]] given an Equal[A] and an Equal[B]. The instance will compare the Either[A, B] values and if both are Right or Left compare them for equality.

Attributes

final def either[B](that: => Equal[B]): Equal[Either[A, B]]
Implicitly added by TryEqual

Constructs an Equal[Either[A, B]] given an Equal[A] and an Equal[B]. The instance will compare the Either[A, B] values and if both are Right or Left compare them for equality.

Constructs an Equal[Either[A, B]] given an Equal[A] and an Equal[B]. The instance will compare the Either[A, B] values and if both are Right or Left compare them for equality.

Attributes

final def either[B](that: => Equal[B]): Equal[Either[A, B]]
Implicitly added by VectorEqual

Constructs an Equal[Either[A, B]] given an Equal[A] and an Equal[B]. The instance will compare the Either[A, B] values and if both are Right or Left compare them for equality.

Constructs an Equal[Either[A, B]] given an Equal[A] and an Equal[B]. The instance will compare the Either[A, B] values and if both are Right or Left compare them for equality.

Attributes

final def either[B](that: => Equal[B]): Equal[Either[A, B]]

Constructs an Equal[Either[A, B]] given an Equal[A] and an Equal[B]. The instance will compare the Either[A, B] values and if both are Right or Left compare them for equality.

Constructs an Equal[Either[A, B]] given an Equal[A] and an Equal[B]. The instance will compare the Either[A, B] values and if both are Right or Left compare them for equality.

Attributes

final def eitherWith[B, C](that: => Equal[B])(f: C => Either[A, B]): Equal[C]
Implicitly added by ChunkEqual

Constructs an Equal[C] given an Equal[A], an Equal[B], and a function f to transform a C value into an Either[A, B]. The instance will convert each C value into an Either[A, B] and then if both are Right or Left compare them for equality.

Constructs an Equal[C] given an Equal[A], an Equal[B], and a function f to transform a C value into an Either[A, B]. The instance will convert each C value into an Either[A, B] and then if both are Right or Left compare them for equality.

Attributes

final def eitherWith[B, C](that: => Equal[B])(f: C => Either[A, B]): Equal[C]
Implicitly added by ExitEqual

Constructs an Equal[C] given an Equal[A], an Equal[B], and a function f to transform a C value into an Either[A, B]. The instance will convert each C value into an Either[A, B] and then if both are Right or Left compare them for equality.

Constructs an Equal[C] given an Equal[A], an Equal[B], and a function f to transform a C value into an Either[A, B]. The instance will convert each C value into an Either[A, B] and then if both are Right or Left compare them for equality.

Attributes

final def eitherWith[B, C](that: => Equal[B])(f: C => Either[A, B]): Equal[C]
Implicitly added by ListEqual

Constructs an Equal[C] given an Equal[A], an Equal[B], and a function f to transform a C value into an Either[A, B]. The instance will convert each C value into an Either[A, B] and then if both are Right or Left compare them for equality.

Constructs an Equal[C] given an Equal[A], an Equal[B], and a function f to transform a C value into an Either[A, B]. The instance will convert each C value into an Either[A, B] and then if both are Right or Left compare them for equality.

Attributes

final def eitherWith[B, C](that: => PartialOrd[B])(f: C => Either[A, B]): PartialOrd[C]
Implicitly added by MapPartialOrd

Constructs an PartialOrd[C] given an PartialOrd[A], an PartialOrd[B], and a function f to transform a C value into an Either[A, B]. The instance will convert each C value into an Either[A, B]. If one value is Left and one value is Right it will treat the Left value as less than the Right value. Otherwise, it will compare the two values.

Constructs an PartialOrd[C] given an PartialOrd[A], an PartialOrd[B], and a function f to transform a C value into an Either[A, B]. The instance will convert each C value into an Either[A, B]. If one value is Left and one value is Right it will treat the Left value as less than the Right value. Otherwise, it will compare the two values.

Attributes

final def eitherWith[B, C](that: => Equal[B])(f: C => Either[A, B]): Equal[C]
Implicitly added by NonEmptyChunkEqual

Constructs an Equal[C] given an Equal[A], an Equal[B], and a function f to transform a C value into an Either[A, B]. The instance will convert each C value into an Either[A, B] and then if both are Right or Left compare them for equality.

Constructs an Equal[C] given an Equal[A], an Equal[B], and a function f to transform a C value into an Either[A, B]. The instance will convert each C value into an Either[A, B] and then if both are Right or Left compare them for equality.

Attributes

final def eitherWith[B, C](that: => Equal[B])(f: C => Either[A, B]): Equal[C]
Implicitly added by OptionEqual

Constructs an Equal[C] given an Equal[A], an Equal[B], and a function f to transform a C value into an Either[A, B]. The instance will convert each C value into an Either[A, B] and then if both are Right or Left compare them for equality.

Constructs an Equal[C] given an Equal[A], an Equal[B], and a function f to transform a C value into an Either[A, B]. The instance will convert each C value into an Either[A, B] and then if both are Right or Left compare them for equality.

Attributes

final def eitherWith[B, C](that: => Equal[B])(f: C => Either[A, B]): Equal[C]
Implicitly added by TryEqual

Constructs an Equal[C] given an Equal[A], an Equal[B], and a function f to transform a C value into an Either[A, B]. The instance will convert each C value into an Either[A, B] and then if both are Right or Left compare them for equality.

Constructs an Equal[C] given an Equal[A], an Equal[B], and a function f to transform a C value into an Either[A, B]. The instance will convert each C value into an Either[A, B] and then if both are Right or Left compare them for equality.

Attributes

final def eitherWith[B, C](that: => Equal[B])(f: C => Either[A, B]): Equal[C]
Implicitly added by VectorEqual

Constructs an Equal[C] given an Equal[A], an Equal[B], and a function f to transform a C value into an Either[A, B]. The instance will convert each C value into an Either[A, B] and then if both are Right or Left compare them for equality.

Constructs an Equal[C] given an Equal[A], an Equal[B], and a function f to transform a C value into an Either[A, B]. The instance will convert each C value into an Either[A, B] and then if both are Right or Left compare them for equality.

Attributes

final def eitherWith[B, C](that: => Equal[B])(f: C => Either[A, B]): Equal[C]

Constructs an Equal[C] given an Equal[A], an Equal[B], and a function f to transform a C value into an Either[A, B]. The instance will convert each C value into an Either[A, B] and then if both are Right or Left compare them for equality.

Constructs an Equal[C] given an Equal[A], an Equal[B], and a function f to transform a C value into an Either[A, B]. The instance will convert each C value into an Either[A, B] and then if both are Right or Left compare them for equality.

Attributes

final def equal(l: A, r: A): Boolean
Implicitly added by ChunkEqual

Returns whether two values of type A are equal.

Returns whether two values of type A are equal.

Attributes

final def equal(l: A, r: A): Boolean
Implicitly added by ExitEqual

Returns whether two values of type A are equal.

Returns whether two values of type A are equal.

Attributes

final def equal(l: A, r: A): Boolean
Implicitly added by ListEqual

Returns whether two values of type A are equal.

Returns whether two values of type A are equal.

Attributes

final def equal(l: A, r: A): Boolean
Implicitly added by NonEmptyChunkEqual

Returns whether two values of type A are equal.

Returns whether two values of type A are equal.

Attributes

final def equal(l: A, r: A): Boolean
Implicitly added by OptionEqual

Returns whether two values of type A are equal.

Returns whether two values of type A are equal.

Attributes

final def equal(l: A, r: A): Boolean
Implicitly added by TryEqual

Returns whether two values of type A are equal.

Returns whether two values of type A are equal.

Attributes

final def equal(l: A, r: A): Boolean
Implicitly added by VectorEqual

Returns whether two values of type A are equal.

Returns whether two values of type A are equal.

Attributes

final def equal(l: A, r: A): Boolean

Returns whether two values of type A are equal.

Returns whether two values of type A are equal.

Attributes

def greater(l: A, r: A): Boolean
Implicitly added by MapPartialOrd

Returns whether the left value is greater than the right value.

Returns whether the left value is greater than the right value.

Attributes

def greaterOrEqual(l: A, r: A): Boolean
Implicitly added by MapPartialOrd

Returns whether the left value is greater than or equal to the right value.

Returns whether the left value is greater than or equal to the right value.

Attributes

def less(l: A, r: A): Boolean
Implicitly added by MapPartialOrd

Returns whether the left value is less than the right value.

Returns whether the left value is less than the right value.

Attributes

def lessOrEqual(l: A, r: A): Boolean
Implicitly added by MapPartialOrd

Returns whether the left value is less than or equal to the right value.

Returns whether the left value is less than or equal to the right value.

Attributes

Implicitly added by MapPartialOrd

Constructs a new PartialOrd[A] by mapping the result of this ordering using the specified function.

Constructs a new PartialOrd[A] by mapping the result of this ordering using the specified function.

Attributes

final def notEqual(l: A, r: A): Boolean
Implicitly added by ChunkEqual

Returns whether two values of type A are not equal.

Returns whether two values of type A are not equal.

Attributes

final def notEqual(l: A, r: A): Boolean
Implicitly added by ExitEqual

Returns whether two values of type A are not equal.

Returns whether two values of type A are not equal.

Attributes

final def notEqual(l: A, r: A): Boolean
Implicitly added by ListEqual

Returns whether two values of type A are not equal.

Returns whether two values of type A are not equal.

Attributes

final def notEqual(l: A, r: A): Boolean
Implicitly added by NonEmptyChunkEqual

Returns whether two values of type A are not equal.

Returns whether two values of type A are not equal.

Attributes

final def notEqual(l: A, r: A): Boolean
Implicitly added by OptionEqual

Returns whether two values of type A are not equal.

Returns whether two values of type A are not equal.

Attributes

final def notEqual(l: A, r: A): Boolean
Implicitly added by TryEqual

Returns whether two values of type A are not equal.

Returns whether two values of type A are not equal.

Attributes

final def notEqual(l: A, r: A): Boolean
Implicitly added by VectorEqual

Returns whether two values of type A are not equal.

Returns whether two values of type A are not equal.

Attributes

final def notEqual(l: A, r: A): Boolean

Returns whether two values of type A are not equal.

Returns whether two values of type A are not equal.

Attributes

def toScala[A1 <: A]: Equiv[A1]
Implicitly added by ChunkEqual
def toScala[A1 <: A]: Equiv[A1]
Implicitly added by ExitEqual
def toScala[A1 <: A]: Equiv[A1]
Implicitly added by ListEqual
def toScala[A1 <: A]: Equiv[A1]
Implicitly added by NonEmptyChunkEqual
def toScala[A1 <: A]: Equiv[A1]
Implicitly added by OptionEqual
def toScala[A1 <: A]: Equiv[A1]
Implicitly added by TryEqual
def toScala[A1 <: A]: Equiv[A1]
Implicitly added by VectorEqual
def toScala[A1 <: A]: Equiv[A1]

Inherited methods

final def both[B](that: => Equal[B]): Equal[(A, B)]
Implicitly added by MapPartialOrd

Constructs an Equal[(A, B)] given an Equal[A] and Equal[B] by first comparing the A values for equality and then comparing the B values for equality, if necessary.

Constructs an Equal[(A, B)] given an Equal[A] and Equal[B] by first comparing the A values for equality and then comparing the B values for equality, if necessary.

Attributes

Inherited from:
Equal
final def bothWith[B, C](that: => Equal[B])(f: C => (A, B)): Equal[C]
Implicitly added by MapPartialOrd

Constructs an Equal[C] given an Equal[A], an Equal[B] and a function f to transform a C value into an (A, B). The instance will convert each C value into an (A, B), compare the A values for equality, and then compare the B values for equality if necessary.

Constructs an Equal[C] given an Equal[A], an Equal[B] and a function f to transform a C value into an (A, B). The instance will convert each C value into an (A, B), compare the A values for equality, and then compare the B values for equality if necessary.

Attributes

Inherited from:
Equal
final def either[B](that: => Equal[B]): Equal[Either[A, B]]
Implicitly added by MapPartialOrd

Constructs an Equal[Either[A, B]] given an Equal[A] and an Equal[B]. The instance will compare the Either[A, B] values and if both are Right or Left compare them for equality.

Constructs an Equal[Either[A, B]] given an Equal[A] and an Equal[B]. The instance will compare the Either[A, B] values and if both are Right or Left compare them for equality.

Attributes

Inherited from:
Equal
final def eitherWith[B, C](that: => Equal[B])(f: C => Either[A, B]): Equal[C]
Implicitly added by MapPartialOrd

Constructs an Equal[C] given an Equal[A], an Equal[B], and a function f to transform a C value into an Either[A, B]. The instance will convert each C value into an Either[A, B] and then if both are Right or Left compare them for equality.

Constructs an Equal[C] given an Equal[A], an Equal[B], and a function f to transform a C value into an Either[A, B]. The instance will convert each C value into an Either[A, B] and then if both are Right or Left compare them for equality.

Attributes

Inherited from:
Equal
final def equal(l: A, r: A): Boolean
Implicitly added by MapPartialOrd

Returns whether two values of type A are equal.

Returns whether two values of type A are equal.

Attributes

Inherited from:
Equal
final def notEqual(l: A, r: A): Boolean
Implicitly added by MapPartialOrd

Returns whether two values of type A are not equal.

Returns whether two values of type A are not equal.

Attributes

Inherited from:
Equal
def toScala[A1 <: A]: Equiv[A1]
Implicitly added by MapPartialOrd

Attributes

Inherited from:
Equal