Packages

object Applicative extends Serializable

Linear Supertypes
Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Applicative
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. trait AllOps[F[_], A] extends Ops[F, A] with Apply.AllOps[F, A] with InvariantMonoidal.AllOps[F, A]
  2. trait Ops[F[_], A] extends AnyRef
  3. trait ToApplicativeOps extends AnyRef

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def apply[F[_]](implicit instance: Applicative[F]): Applicative[F]

    Summon an instance of Applicative for F.

    Summon an instance of Applicative for F.

    Annotations
    @inline()
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def catsApplicativeForArrow[F[_, _], A](implicit F: Arrow[F]): Applicative[[β$0$]F[A, β$0$]]

    Creates an applicative functor for F, holding domain fixed and combining over the codomain.

    Creates an applicative functor for F, holding domain fixed and combining over the codomain.

    Example:

    scala> import cats.implicits._
    scala> import cats.Applicative.catsApplicativeForArrow
    scala> val toLong: Int => Long = _.toLong
    scala> val double: Int => Int = 2*_
    scala> val f: Int => (Long, Int) = catsApplicativeForArrow.product(toLong, double)
    scala> f(3)
    res0: (Long, Int) = (3,6)
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  8. def coflatMap[F[_]](implicit F: Applicative[F]): CoflatMap[F]

    Creates a CoflatMap for an Applicative F.

    Creates a CoflatMap for an Applicative F. Cannot be implicit in 1.0 for Binary Compatibility Reasons

    Example:

    scala> import cats._
    scala> import cats.implicits._
    scala> val fa = Some(3)
    fa: Option[Int] = Some(3)
    scala> Applicative.coflatMap[Option].coflatten(fa)
    res0: Option[Option[Int]] = Some(Some(3))
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  15. def monoid[F[_], A](implicit f: Applicative[F], monoid: Monoid[A]): Monoid[F[A]]
  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  20. def toString(): String
    Definition Classes
    AnyRef → Any
  21. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  24. object nonInheritedOps extends ToApplicativeOps
  25. object ops

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped