Attributes
Members list
Value members
Concrete methods
Equal instance for Double for imprecise equality with configurable tolerance.
Equal instance for Double for imprecise equality with configurable tolerance.
Attributes
Equal instance for Float for imprecise equality with configurable tolerance.
Equal instance for Float for imprecise equality with configurable tolerance.
Attributes
Summons an implicit Equal[A].
Summons an implicit Equal[A].
Attributes
Constructs an Equal[A] that uses the default notion of equality embodied in the implementation of equals for values of type A.
Constructs an Equal[A] that uses the default notion of equality embodied in the implementation of equals for values of type A.
Attributes
Constructs an Equal[A] from a function. The instance will be optimized to first compare the values for reference equality and then compare the values for value equality.
Constructs an Equal[A] from a function. The instance will be optimized to first compare the values for reference equality and then compare the values for value equality.
Attributes
Concrete fields
Ord (and thus also Equal) instance for Any values. Note that since values of type Any contain no information, all values of type Any can be treated as equal to each other.
Ord (and thus also Equal) instance for Any values. Note that since values of type Any contain no information, all values of type Any can be treated as equal to each other.
Attributes
Hash (and thus also Equal) instance for Throwable values. Comparison is based on: Class, message and cause (stack trace is ignored).
Hash (and thus also Equal) instance for Throwable values. Comparison is based on: Class, message and cause (stack trace is ignored).
Note: This is intentionally not in the implicit scope, because it would allow comparing all Throwables across hierarchies defined by users, which would typically be a mistake.
Attributes
Implicits
Implicits
The Hash and Ord instance for BigDecimal.
The Hash and Ord instance for BigDecimal.
Attributes
The Hash and Ord instance for BigInt.
The Hash and Ord instance for BigInt.
Attributes
Hash and Ord (and thus also Equal) instance for Boolean values.
Hash and Ord (and thus also Equal) instance for Boolean values.
Attributes
Hash and Ord (and thus also Equal) instance for Byte values.
Hash and Ord (and thus also Equal) instance for Byte values.
Attributes
Hash (and thus also Equal) instance for Cause[A]. Note, that it doesn't take Hash[A] nor Equal[A] into account.
Hash (and thus also Equal) instance for Cause[A]. Note, that it doesn't take Hash[A] nor Equal[A] into account.
Attributes
Hash and Ord (and thus also Equal) instance for Char values.
Hash and Ord (and thus also Equal) instance for Char values.
Attributes
Derives an Equal[Chunk[A]] given an Equal[A].
Derives an Equal[Chunk[A]] given an Equal[A].
Attributes
Hash (and thus also Equal) instance for Class values.
Hash (and thus also Equal) instance for Class values.
Attributes
Derives an Equal[F[A]] given a Derive[F, Equal] and an Equal[A].
Derives an Equal[F[A]] given a Derive[F, Equal] and an Equal[A].
Attributes
Hash and Ord (and thus also Equal) instance for Double values.
Hash and Ord (and thus also Equal) instance for Double values.
Note that to honor the contract
-
that a value is always equal to itself, comparing
Double.NaNwith itself will returntrue. -
of a total ordering,
Double.NaNwill be treated as greater than any other number.
Attributes
Hash and Ord (and thus also Equal) instance for Scala Duration values.
Hash and Ord (and thus also Equal) instance for Scala Duration values.
Attributes
Hash and Ord (and thus also Equal) instance for ZIO Duration values.
Hash and Ord (and thus also Equal) instance for ZIO Duration values.
Attributes
Derives an Equal[Either[A, B]] given an Equal[A] and an Equal[B].
Derives an Equal[Either[A, B]] given an Equal[A] and an Equal[B].
Attributes
The CommutativeBoth and IdentityBoth (and thus AssociativeBoth) instance for Equal.
The CommutativeBoth and IdentityBoth (and thus AssociativeBoth) instance for Equal.
Attributes
The CommutativeEither and IdentityEither (and thus AssociativeEither) instance for Equal.
The CommutativeEither and IdentityEither (and thus AssociativeEither) instance for Equal.
Attributes
The Contravariant instance for Equal.
The Contravariant instance for Equal.
Attributes
Derives an Equal[Exit[E, A]] given an Equal[A] and Equal[B].
Derives an Equal[Exit[E, A]] given an Equal[A] and Equal[B].
Attributes
Hash and (and thus also Equal) instance for FiberId values.
Hash and (and thus also Equal) instance for FiberId values.
Attributes
Hash and Ord (and thus also Equal) instance for Float values.
Hash and Ord (and thus also Equal) instance for Float values.
Note that to honor the contract
-
that a value is always equal to itself, comparing
Float.NaNwith itself will returntrue. -
of a total ordering,
Float.NaNwill be treated as greater than any other number.
Attributes
Hash and Ord (and thus also Equal) instance for Int values.
Hash and Ord (and thus also Equal) instance for Int values.
Attributes
Derives an Equal[List[A]] given an Equal[A].
Derives an Equal[List[A]] given an Equal[A].
Attributes
Hash and Ord (and thus also Equal) instance for Long values.
Hash and Ord (and thus also Equal) instance for Long values.
Attributes
Derives a PartialOrd[Map[A, B]] (and thus Equal[Map[A, B]]) given an Equal[B]. Due to the limitations of Scala's Map, this uses object equality on the keys.
Derives a PartialOrd[Map[A, B]] (and thus Equal[Map[A, B]]) given an Equal[B]. Due to the limitations of Scala's Map, this uses object equality on the keys.
Attributes
Derives an Equal[NonEmptyChunk[A]] given an Equal[A].
Derives an Equal[NonEmptyChunk[A]] given an Equal[A].
Attributes
Hash and Ord (and thus also Equal) instance for Nothing values. Note that since there are not values of type Nothing the equals method of this instance can never be called but it can be useful in deriving instances for more complex types.
Hash and Ord (and thus also Equal) instance for Nothing values. Note that since there are not values of type Nothing the equals method of this instance can never be called but it can be useful in deriving instances for more complex types.
Attributes
Derives an Equal[Option[A]] given an Equal[A].
Derives an Equal[Option[A]] given an Equal[A].
Attributes
PartialOrd and Hash (and thus also Equal) instance for Set[A] values. Due to the limitations of Scala's Set, this uses object equality and hash code on the elements.
PartialOrd and Hash (and thus also Equal) instance for Set[A] values. Due to the limitations of Scala's Set, this uses object equality and hash code on the elements.
Attributes
Hash and Ord (and thus also Equal) instance for Short values.
Hash and Ord (and thus also Equal) instance for Short values.
Attributes
Hash (and thus also Equal) instance for StackTrace values.
Hash (and thus also Equal) instance for StackTrace values.
Attributes
Hash and Ord (and thus also Equal) instance for String values.
Hash and Ord (and thus also Equal) instance for String values.
Attributes
Derives an Equal[Try[A]] given an Equal[A].
Derives an Equal[Try[A]] given an Equal[A].
Attributes
Derives an Equal for a product type given an Equal for each element of the product type.
Derives an Equal for a product type given an Equal for each element of the product type.
Attributes
Derives an Equal for a product type given an Equal for each element of the product type.
Derives an Equal for a product type given an Equal for each element of the product type.
Attributes
Derives an Equal for a product type given an Equal for each element of the product type.
Derives an Equal for a product type given an Equal for each element of the product type.
Attributes
Derives an Equal for a product type given an Equal for each element of the product type.
Derives an Equal for a product type given an Equal for each element of the product type.
Attributes
Derives an Equal for a product type given an Equal for each element of the product type.
Derives an Equal for a product type given an Equal for each element of the product type.
Attributes
Derives an Equal for a product type given an Equal for each element of the product type.
Derives an Equal for a product type given an Equal for each element of the product type.
Attributes
Derives an Equal for a product type given an Equal for each element of the product type.
Derives an Equal for a product type given an Equal for each element of the product type.
Attributes
Derives an Equal for a product type given an Equal for each element of the product type.
Derives an Equal for a product type given an Equal for each element of the product type.
Attributes
Derives an Equal for a product type given an Equal for each element of the product type.
Derives an Equal for a product type given an Equal for each element of the product type.
Attributes
Derives an Equal for a product type given an Equal for each element of the product type.
Derives an Equal for a product type given an Equal for each element of the product type.
Attributes
Derives an Equal for a product type given an Equal for each element of the product type.
Derives an Equal for a product type given an Equal for each element of the product type.
Attributes
Derives an Equal for a product type given an Equal for each element of the product type.
Derives an Equal for a product type given an Equal for each element of the product type.
Attributes
Derives an Equal for a product type given an Equal for each element of the product type.
Derives an Equal for a product type given an Equal for each element of the product type.
Attributes
Derives an Equal for a product type given an Equal for each element of the product type.
Derives an Equal for a product type given an Equal for each element of the product type.
Attributes
Derives an Equal for a product type given an Equal for each element of the product type.
Derives an Equal for a product type given an Equal for each element of the product type.
Attributes
Derives an Equal for a product type given an Equal for each element of the product type.
Derives an Equal for a product type given an Equal for each element of the product type.
Attributes
Derives an Equal for a product type given an Equal for each element of the product type.
Derives an Equal for a product type given an Equal for each element of the product type.
Attributes
Derives an Equal for a product type given an Equal for each element of the product type.
Derives an Equal for a product type given an Equal for each element of the product type.
Attributes
Derives an Equal for a product type given an Equal for each element of the product type.
Derives an Equal for a product type given an Equal for each element of the product type.
Attributes
Derives an Equal for a product type given an Equal for each element of the product type.
Derives an Equal for a product type given an Equal for each element of the product type.
Attributes
Derives an Equal for a product type given an Equal for each element of the product type.
Derives an Equal for a product type given an Equal for each element of the product type.
Attributes
Hash and Ord (and thus also Equal) instance for Unit values. Since there is only one Unit value all equality comparisons will always be true.
Hash and Ord (and thus also Equal) instance for Unit values. Since there is only one Unit value all equality comparisons will always be true.