Packages

object Applicative extends Serializable

Source
Applicative.scala
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 Serializable
  3. trait ToApplicativeOps extends Serializable

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[Function1, Int].product(toLong, double)
    scala> f(3)
    res0: (Long, Int) = (3,6)
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @IntrinsicCandidate()
  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. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. def monoid[F[_], A](implicit f: Applicative[F], monoid: Monoid[A]): Monoid[F[A]]
  15. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  16. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  17. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  18. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  19. def toString(): String
    Definition Classes
    AnyRef → Any
  20. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  21. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  22. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated
  2. object nonInheritedOps extends ToApplicativeOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.2.0) Use cats.syntax object imports

  3. object ops
    Annotations
    @deprecated
    Deprecated

    (Since version 2.2.0) Use cats.syntax object imports

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped