p

org.cvogt

scala

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. type ->[L, R] = (L, R)

    -> type alias for tuples and extractor for pattern matches.

    -> type alias for tuples and extractor for pattern matches. Complementary to the Predef.-> Tuple2 constructor.

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

    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

  3. implicit final class AnyExtensions [T] extends AnyVal
  4. implicit final class BooleanExtensions extends AnyVal
  5. class DefaultsMacros extends AnyRef
  6. class EnumerateSingletonsMacros extends AnyRef
  7. implicit final class OptionExtensions [T] extends AnyVal
  8. implicit class SafeStringContext extends AnyRef

    type-safe alternative to s"..." that requires explicit toString conversions rather than implicit

  9. implicit final class StringExtensions extends AnyVal

Value Members

  1. object -> extends Serializable
  2. object :=
  3. object Defaults
  4. object EnumerateSingletons

Inherited from AnyRef

Inherited from Any

Ungrouped