← ZIO Prelude docs

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
Source
Equal.scala
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

Source
Equal.scala
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

Source
Equal.scala
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

Source
Equal.scala
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

Source
PartialOrd.scala
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

Source
Equal.scala
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

Source
Equal.scala
final def both[B](that: => Equal[B]): Equal[(A, B)]
Implicitly added by OptionalEqual

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

Source
Equal.scala
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

Source
Equal.scala
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

Source
Equal.scala
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

Source
Equal.scala
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

Source
Equal.scala
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

Source
Equal.scala
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

Source
Equal.scala
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

Source
PartialOrd.scala
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

Source
Equal.scala
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

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

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

Source
Equal.scala
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

Source
Equal.scala
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

Source
Equal.scala
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

Source
Equal.scala
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

Source
PartialOrd.scala
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

Source
Equal.scala
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

Source
Equal.scala
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

Source
Equal.scala
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

Source
Equal.scala
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

Source
Equal.scala
def contramap[B](f: B => A): Equal[B]
Implicitly added by OptionalEqual

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

Source
Equal.scala
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

Source
Equal.scala
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

Source
Equal.scala
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

Source
Equal.scala
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

Source
Equal.scala
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

Source
Equal.scala
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

Source
Equal.scala
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

Source
PartialOrd.scala
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

Source
Equal.scala
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

Source
Equal.scala
final def either[B](that: => Equal[B]): Equal[Either[A, B]]
Implicitly added by OptionalEqual

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

Source
Equal.scala
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

Source
Equal.scala
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

Source
Equal.scala
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

Source
Equal.scala
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

Source
Equal.scala
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

Source
Equal.scala
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

Source
Equal.scala
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

Source
PartialOrd.scala
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

Source
Equal.scala
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

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

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

Source
Equal.scala
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

Source
Equal.scala
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

Source
Equal.scala
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

Source
Equal.scala
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

Source
Equal.scala
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

Source
Equal.scala
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

Source
Equal.scala
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

Source
Equal.scala
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

Source
Equal.scala
final def equal(l: A, r: A): Boolean
Implicitly added by OptionalEqual

Returns whether two values of type A are equal.

Returns whether two values of type A are equal.

Attributes

Source
Equal.scala
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

Source
Equal.scala
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

Source
Equal.scala
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

Source
Equal.scala
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

Source
PartialOrd.scala
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

Source
PartialOrd.scala
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

Source
PartialOrd.scala
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

Source
PartialOrd.scala
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

Source
PartialOrd.scala
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

Source
Equal.scala
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

Source
Equal.scala
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

Source
Equal.scala
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

Source
Equal.scala
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

Source
Equal.scala
final def notEqual(l: A, r: A): Boolean
Implicitly added by OptionalEqual

Returns whether two values of type A are not equal.

Returns whether two values of type A are not equal.

Attributes

Source
Equal.scala
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

Source
Equal.scala
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

Source
Equal.scala
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

Source
Equal.scala
def toScala[A1 <: A]: Equiv[A1]
Implicitly added by ChunkEqual

Attributes

Source
Equal.scala
def toScala[A1 <: A]: Equiv[A1]
Implicitly added by ExitEqual

Attributes

Source
Equal.scala
def toScala[A1 <: A]: Equiv[A1]
Implicitly added by ListEqual

Attributes

Source
Equal.scala
def toScala[A1 <: A]: Equiv[A1]
Implicitly added by NonEmptyChunkEqual

Attributes

Source
Equal.scala
def toScala[A1 <: A]: Equiv[A1]
Implicitly added by OptionEqual

Attributes

Source
Equal.scala
def toScala[A1 <: A]: Equiv[A1]
Implicitly added by OptionalEqual

Attributes

Source
Equal.scala
def toScala[A1 <: A]: Equiv[A1]
Implicitly added by TryEqual

Attributes

Source
Equal.scala
def toScala[A1 <: A]: Equiv[A1]
Implicitly added by VectorEqual

Attributes

Source
Equal.scala
def toScala[A1 <: A]: Equiv[A1]

Attributes

Source
Equal.scala

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
Source
Equal.scala
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
Source
Equal.scala
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
Source
Equal.scala
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
Source
Equal.scala
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
Source
Equal.scala
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
Source
Equal.scala
def toScala[A1 <: A]: Equiv[A1]
Implicitly added by MapPartialOrd

Attributes

Inherited from:
Equal
Source
Equal.scala