Dotty Documentation

0.17.0-bin-SNAPSHOT

object Eql
extends Object with Serializable

Companion object containing a few universally known Eql instances. Eql instances involving primitive types or the Null type are handled directly in the compiler (see Implicits.synthesizedEq), so they are not included here.

[-] Constructors

[-] Members

[+] object derived

A universal Eql instance.

[+] def eqlAny : Eql [ L, R ]

A fall-back instance to compare values of any types. Even though this method is not declared a delegate, the compiler will synthesize implicit arguments as solutions to Eql[T, U] queries if the rules of multiversal equality require it.

[+] implicit def eqlNumber : Eql [ Number, Number ]
[+] implicit def eqlProxy : Eql [ Proxy, AnyRef ]
[+] implicit def eqlSeq ( implicit eq: Eql [ T, U ] ) : Eql [ GenSeq [ T ], GenSeq [ U ] ]
[+] implicit def eqlSet ( implicit eq: Eql [ T, U ] ) : Eql [ Set [ T ], Set [ U ] ]
[+] implicit def eqlString : Eql [ String, String ]