Packages

trait Func[F[_], TC[F[_]] <: Functor[F[_]], A, B] extends AnyRef

Represents a function A => F[B] where [F: TC].

Contributed by Eugene Yokota.

Self Type
Func[F, TC, A, B]
Source
Func.scala
Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Func
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. implicit abstract def F: TC[F]
  2. implicit abstract def TC: KTypeClass[TC]
  3. abstract def runA(a: A): F[B]

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def &&&@[G[_]](g: Func[G, TC, A, B]): HConsFunc[G, TC, A, B, HConsFunc[F, TC, A, B, HNilFunc[TC, A, B]]]
  4. def <<<@[G[_], C](g: Func[G, TC, C, A]): Func[[α]G[F[α]], TC, C, B]

    alias for composeA

  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. def @&&&[G[_]](g: Func[G, TC, A, B]): HConsFunc[F, TC, A, B, HConsFunc[G, TC, A, B, HNilFunc[TC, A, B]]]

    alias for productA

  7. def @>>>[G[_], C](g: Func[G, TC, B, C]): Func[[α]F[G[α]], TC, A, C]

    alias for andThenA

  8. def andThenA[G[_], C](g: Func[G, TC, B, C]): Func[[α]F[G[α]], TC, A, C]

    compose A => F[B] and B => G[C] into A => F[G[C]]

  9. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  10. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  11. def composeA[G[_], C](g: Func[G, TC, C, A]): Func[[α]G[F[α]], TC, C, B]

    compose A => F[B] and C => G[A] into C => G[F[B]]

  12. def consA[T <: HListFunc[TC, A, B]](tail: T): HConsFunc[F, TC, A, B, T]

    prepend this to HListFunc tail *

  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[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. def mapA[C](f: (B) ⇒ C): Func[F, TC, A, C]
  20. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. def productA[G[_]](g: Func[G, TC, A, B]): HConsFunc[F, TC, A, B, HConsFunc[G, TC, A, B, HNilFunc[TC, A, B]]]

    compose A => F[B] and A => G[B] into A => F[B] :: G[B] :: HNil

  24. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  25. def toString(): String
    Definition Classes
    AnyRef → Any
  26. def traverse[G[_]](value: G[A])(implicit G: Traverse[G], ev: =:=[TC[F], Applicative[F]]): F[G[B]]
  27. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped