object Evidence extends EvidenceLowPrioImplicits
- Alphabetic
- By Inheritance
- Evidence
- EvidenceLowPrioImplicits
- EvidenceLowestPrioImplicits
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: scala.Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: scala.Any): Boolean
- Definition Classes
- AnyRef → Any
-
implicit
def
allSubtypes[A1, A2, B](implicit ev1: Evidence[A1, B], ev2: Evidence[A2, B]): Evidence[|[A1, A2], B]
If
A1 <: B
andA2 <: B
, thenA1 | A2 <: B
. -
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
implicit
def
base[A]: Evidence[A, A]
A <: A
. -
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
implicit
def
contravariant[F[-_], A, B](implicit ev: Evidence[B, A]): Evidence[F[A], F[B]]
Given a contravariant type constructor
F[-_]
, ifB <: A
, thenF[A] <: F[B]
.Given a contravariant type constructor
F[-_]
, ifB <: A
, thenF[A] <: F[B]
.- Definition Classes
- EvidenceLowestPrioImplicits
-
implicit
def
covariant[F[+_], A, B](implicit ev: Evidence[A, B]): Evidence[F[A], F[B]]
Given a covariant type constructor
F[+_]
, ifA <: B
, thenF[A] <: F[B]
.Given a covariant type constructor
F[+_]
, ifA <: B
, thenF[A] <: F[B]
.- Definition Classes
- EvidenceLowestPrioImplicits
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: scala.Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
implicit
def
intDouble: Evidence[Int, Double]
Int <: Double
, because that's true in Scala.js.Int <: Double
, because that's true in Scala.js.- Definition Classes
- EvidenceLowPrioImplicits
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
implicit
def
left[A, B1, B2](implicit ev: Evidence[A, B1]): Evidence[A, |[B1, B2]]
If
A <: B1
, thenA <: B1 | B2
.If
A <: B1
, thenA <: B1 | B2
.- Definition Classes
- EvidenceLowPrioImplicits
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
implicit
def
right[A, B1, B2](implicit ev: Evidence[A, B2]): Evidence[A, |[B1, B2]]
If
A <: B2
, thenA <: B1 | B2
.If
A <: B2
, thenA <: B1 | B2
.- Definition Classes
- EvidenceLowestPrioImplicits
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )