Package

org.cvogt

scala

Permalink

package scala

Source
package.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. scala
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Type Members

  1. class :=[T, Q] extends AnyRef

    Permalink

    Allows to provide default value for type parameter.

    Allows to provide default value for type parameter. NOTE: Be careful when you use this. Result type inference order reasoning can be very tricky.

    scala> def foo[T](implicit default: T := Int, ct: ClassTag[T]) = ct.toString scala> foo Int scala> foo[String] String

    For foo: useDefault[Int] wins over useProvided[Nothing,Int] For foo[String]: useProvided[String,Int] applies, useDefault does not

Value Members

  1. object :=

    Permalink
  2. package collection

    Permalink
  3. package constraint

    Permalink
  4. package debug

    Permalink
  5. package scalar

    Permalink
  6. package string

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped