Packages

trait Applicative[F[_]] extends Serializable with Type[F]

The Applicative type-class is a Functor that also adds the capability of lifting a value in the context.

Described in Applicative Programming with Effects.

To implement Functor:

The purpose of this type-class is to support the data-types in the Monix library and it is considered a shim for a lawful type-class to be supplied by libraries such as Cats or Scalaz or equivalent.

CREDITS: The type-class encoding has been inspired by the Scato project by Aloïs Cochard and Scalaz 8 and the type has been extracted from Cats.

Source
Applicative.scala
Linear Supertypes
Type[F], Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Applicative
  2. Type
  3. Serializable
  4. Serializable
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def ap[A, B](ff: F[(A) ⇒ B])(fa: F[A]): F[B]
  2. implicit abstract def functor: Functor[F]
    Definition Classes
    Type
  3. abstract def map2[A, B, Z](fa: F[A], fb: F[B])(f: (A, B) ⇒ Z): F[Z]
  4. abstract def pure[A](a: A): F[A]

Concrete Value Members

  1. def unit: F[Unit]