<:<

scala.<:<
See the<:< companion class
object <:<

Attributes

Companion
class
Source
typeConstraints.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
<:<.type

Members list

Value members

Concrete methods

def antisymm[A, B](implicit l: A <:< B, r: B <:< A): A =:= B

If A &lt;: B and B &lt;: A, then A = B (subtyping is antisymmetric).

If A &lt;: B and B &lt;: A, then A = B (subtyping is antisymmetric).

Attributes

Source
typeConstraints.scala

Implicits

Implicits

implicit def refl[A]: A =:= A

A =:= A for all A (equality is reflexive). This also provides implicit views A &lt;:&lt; B when A &lt;: B, because (A =:= A) &lt;: (A &lt;:&lt; A) &lt;: (A &lt;:&lt; B).

A =:= A for all A (equality is reflexive). This also provides implicit views A &lt;:&lt; B when A &lt;: B, because (A =:= A) &lt;: (A &lt;:&lt; A) &lt;: (A &lt;:&lt; B).

Attributes

Source
typeConstraints.scala