shapeless

>->

class >->[T, R] extends LowPriorityLiftFunction1

Base class for lifting a Function1 to a Poly1 over the universal domain, yielding an HList with the result as it's only element if the argument is in the original functions domain, HNil otherwise.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. >->
  2. LowPriorityLiftFunction1
  3. Poly1
  4. Poly
  5. AnyRef
  6. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new >->(f: (T) ⇒ R)

Type Members

  1. type Case0[T] = Case0Aux[>->.this.type, T]

    The type of the case representing this polymorphic value at type T.

    The type of the case representing this polymorphic value at type T.

    Definition Classes
    Poly
  2. type Case1[T] = Case1Aux[>->.this.type, T]

    The type of the case representing this polymorphic unary function at argument type T.

    The type of the case representing this polymorphic unary function at argument type T.

    Definition Classes
    Poly
  3. class Case1Builder[T] extends AnyRef

  4. type Case2[T, U] = Case2Aux[>->.this.type, T, U]

    The type of the case representing this polymorphic binary function at argument types T and U.

    The type of the case representing this polymorphic binary function at argument types T and U.

    Definition Classes
    Poly
  5. type Hom[T] = Case1[T] { type R = T }

    The type of a case of this polymorphic function of the form T => T

    The type of a case of this polymorphic function of the form T => T

    Definition Classes
    Poly
  6. type Pullback1[T, R0] = Case1[T] { type R = R0 }

    The type of a case of this polymorphic function of the form T => R

    The type of a case of this polymorphic function of the form T => R

    Definition Classes
    Poly
  7. type Pullback2[T, U, R0] = Case2[T, U] { type R = R0 }

    The type of a case of this polymorphic function of the form (T, U) => R

    The type of a case of this polymorphic function of the form (T, U) => R

    Definition Classes
    Poly

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

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

    Definition Classes
    Any
  6. def apply[T, U](t: T, u: U)(implicit c: Case2[T, U]): R

    Definition Classes
    Poly
  7. def apply[T](t: T)(implicit c: Case1[T]): R

    Definition Classes
    Poly
  8. def apply[T](implicit c: Case0[T]): T

    Definition Classes
    Poly
  9. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  10. def at[T]: Case1Builder[T]

    Creates an instance of the case representing this polymorphic unary function at argument type T.

    Creates an instance of the case representing this polymorphic unary function at argument type T.

    Definition Classes
    Poly1
  11. def clone(): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  12. implicit def default[T]: Case1[T] { type R = shapeless.HNil }

    Definition Classes
    LowPriorityLiftFunction1
  13. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  14. def equals(arg0: Any): Boolean

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

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

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

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

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

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

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

    Definition Classes
    AnyRef
  22. implicit def subT[U <: T]: Case1[U] { type R = shapeless.::[R,shapeless.HNil] }

  23. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  24. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from LowPriorityLiftFunction1

Inherited from Poly1

Inherited from Poly

Inherited from AnyRef

Inherited from Any