ReferentialEq

alleycats.ReferentialEq
See theReferentialEq companion object
trait ReferentialEq[A <: AnyRef] extends Eq[A]

An Eq[A] that delegates to referential equality (eq). Note that it is not referentially transparent!

Attributes

Companion:
object
Source:
ReferentialEq.scala
Graph
Supertypes
trait Eq[A]
class Object
trait Matchable
class Any
Known subtypes

Members list

Concise view

Value members

Concrete methods

def eqv(x: A, y: A): Boolean

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

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

Attributes

Source:
ReferentialEq.scala

Inherited methods

def neqv(x: A, y: A): Boolean

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

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

Attributes

Inherited from:
Eq
Source:
Eq.scala