ApplicativeK

perspective.ApplicativeK
See theApplicativeK companion object
trait ApplicativeK[F[_[_], _]] extends ApplyK[F]

A higher kinded cats.Applicative typeclass.

Attributes

Companion
object
Source
ApplicativeK.scala
Graph
Supertypes
trait ApplyK[F]
trait FunctorK[F]
trait InvariantK[F]
class Object
trait Matchable
class Any
Show all
Known subtypes
trait MonadK[F]

Members list

Value members

Concrete methods

def unitK[C]: F[Const[Unit], C]

A higher kinded equivalent of cats.Applicative.unit.

A higher kinded equivalent of cats.Applicative.unit.

Attributes

Source
ApplicativeK.scala

Extensions

Extensions

extension [A[_]](a: ValueK[A])
def pure[C]: F[A, C]

A higher kinded equivalent of cats.Applicative.pure.

A higher kinded equivalent of cats.Applicative.pure.

Attributes

Source
ApplicativeK.scala
extension [A[_], C](fa: F[A, C])
override def mapK[B[_]](f: FunctionK[A, B]): F[B, C]

A higher kinded equivalent of cats.Functor.map.

A higher kinded equivalent of cats.Functor.map.

Attributes

Definition Classes
Source
ApplicativeK.scala

Inherited extensions

extension [A[_], B[_]](f: FunctionK[A, B])
def liftK: FunctionK[[_] =>> F[A, _$11], [_] =>> F[B, _$12]]

A higher kinded equivalent of cats.Functor.lift.

A higher kinded equivalent of cats.Functor.lift.

Attributes

Inherited from:
FunctorK
Source
FunctorK.scala
extension [A[_], C](fa: F[A, C])
inline def asK[B[_]](b: ValueK[B]): F[B, C]

A higher kinded equivalent of cats.Functor.as.

A higher kinded equivalent of cats.Functor.as.

Attributes

Inherited from:
FunctorK
Source
FunctorK.scala
override def imapK[B[_]](f: FunctionK[A, B])(g: FunctionK[B, A]): F[B, C]

A higher kinded equivalent of cats.Invariant.imap.

A higher kinded equivalent of cats.Invariant.imap.

Attributes

Definition Classes
Inherited from:
FunctorK
Source
FunctorK.scala
inline def mapConst[B](f: A :~>#: B): F[Const[B], C]

Helper function that calls mapK with Const.

Helper function that calls mapK with Const.

Attributes

Inherited from:
FunctorK
Source
FunctorK.scala
inline def voidK: F[Const[Unit], C]

A higher kinded equivalent of cats.Functor.void.

A higher kinded equivalent of cats.Functor.void.

Attributes

Inherited from:
FunctorK
Source
FunctorK.scala
inline def widen[B[D]]: F[B, C]

A higher kinded equivalent of cats.Functor.widen.

A higher kinded equivalent of cats.Functor.widen.

Attributes

Inherited from:
FunctorK
Source
FunctorK.scala
extension [A[_], C](fa: F[A, C])
inline def map2Const[B[_], Z](fb: F[B, C])(f: [X] => (x$1: A[X], x$2: B[X]) => Z): F[Const[Z], C]

Helper function that calls map2K with Const.

Helper function that calls map2K with Const.

Attributes

Inherited from:
ApplyK
Source
ApplyK.scala
def map2K[B[_], Z[_]](fb: F[B, C])(f: [X] => (x$1: A[X], x$2: B[X]) => Z[X]): F[Z, C]

A higher kinded equivalent of cats.Apply.map2.

A higher kinded equivalent of cats.Apply.map2.

Attributes

Inherited from:
ApplyK
Source
ApplyK.scala
def tupledK[B[_]](fb: F[B, C]): F[Tuple2K[A, B], C]

A higher kinded equivalent of cats.Apply.product.

A higher kinded equivalent of cats.Apply.product.

Attributes

Inherited from:
ApplyK
Source
ApplyK.scala
extension [A[_], B[_], C](ff: F[[D] =>> (A[D]) => B[D], C])
def ap(fa: F[A, C]): F[B, C]

A higher kinded equivalent of cats.Apply.ap.

A higher kinded equivalent of cats.Apply.ap.

Attributes

Inherited from:
ApplyK
Source
ApplyK.scala