dotty

DottyPredef

Related Doc: package dotty

object DottyPredef

unimplemented implicit for TypeTag

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. DottyPredef
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. abstract class ImplicitConverter[-T, +U] extends (T) ⇒ U

    A class for implicit values that can serve as implicit conversions The implicit resolution algorithm will act as if there existed the additional implicit definition:

    A class for implicit values that can serve as implicit conversions The implicit resolution algorithm will act as if there existed the additional implicit definition:

    def $implicitConversion[T, U](x: T)(c: ImplicitConverter[T, U]): U = c(x)

    However, the presence of this definition would slow down implicit search since its outermost type matches any pair of types. Therefore, implicit search contains a special case in Implicits#discardForView which emulates the conversion in a more efficient way.

    Note that this is a SAM class - function literals are automatically converted to ImplicitConverter values.

    Also note that in bootstrapped dotty, Predef.<:< should inherit from ImplicitConverter. This would cut the number of special cases in discardForView from two to one.

Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  5. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  7. implicit def eqAny[L, R]: Eq[L, R]

    A fall-back implicit to compare values of any types.

    A fall-back implicit to compare values of any types. The compiler will restrict implicit instances of eqAny. An instance eqAny[T, U] is _valid_ if T <: U or U <: T or both T and U are Eq-free. A type S is Eq-free if there is no implicit instance of Eq[S, S]. An implicit search will fail instead of returning an invalid eqAny instance.

  8. implicit def eqByteNum: Eq[Byte, Number]

  9. implicit def eqCharNum: Eq[Char, Number]

  10. implicit def eqDoubleNum: Eq[Double, Number]

  11. implicit def eqFloatNum: Eq[Float, Number]

  12. implicit def eqIntNum: Eq[Int, Number]

  13. implicit def eqLongNum: Eq[Long, Number]

  14. implicit def eqNumByte: Eq[Number, Byte]

  15. implicit def eqNumChar: Eq[Number, Char]

  16. implicit def eqNumDouble: Eq[Number, Double]

  17. implicit def eqNumFloat: Eq[Number, Float]

  18. implicit def eqNumInt: Eq[Number, Int]

  19. implicit def eqNumLong: Eq[Number, Long]

  20. implicit def eqNumShort: Eq[Number, Short]

  21. implicit def eqNumber: Eq[Number, Number]

  22. implicit def eqProxy: Eq[Proxy, Any]

  23. implicit def eqSeq[T, U](implicit eq: Eq[T, U]): Eq[Seq[T], Seq[U]]

  24. implicit def eqShortNum: Eq[Short, Number]

  25. implicit def eqString: Eq[String, String]

  26. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  27. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  28. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  29. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  30. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  31. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  32. final def notify(): Unit

    Definition Classes
    AnyRef
  33. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  34. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  35. def toString(): String

    Definition Classes
    AnyRef → Any
  36. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  37. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  38. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped