OperationApplicative

object OperationApplicative extends Applicative[Operation]
trait Applicative[Operation]
trait Functor[Operation]
class Object
trait Matchable
class Any

Value members

Concrete methods

def ap[A, B](fa: => Operation[A])(ff: => Operation[A => B]): Operation[B]
def point[A](a: => A): Operation[A]
override def toString: String
Definition Classes
Any

Inherited methods

def ap2[A, B, C](fa: => Operation[A], fb: => Operation[B])(f: Operation[(A, B) => C]): Operation[C]
Inherited from:
Applicative
def ap3[A, B, C, D](fa: => Operation[A], fb: => Operation[B], fc: => Operation[C])(f: Operation[(A, B, C) => D]): Operation[D]
Inherited from:
Applicative
def ap4[A, B, C, D, E](fa: => Operation[A], fb: => Operation[B], fc: => Operation[C], fd: => Operation[D])(f: Operation[(A, B, C, D) => E]): Operation[E]
Inherited from:
Applicative
def ap5[A, B, C, D, E, R](fa: => Operation[A], fb: => Operation[B], fc: => Operation[C], fd: => Operation[D], fe: => Operation[E])(f: Operation[(A, B, C, D, E) => R]): Operation[R]
Inherited from:
Applicative
def ap6[A, B, C, D, E, FF, R](fa: => Operation[A], fb: => Operation[B], fc: => Operation[C], fd: => Operation[D], fe: => Operation[E], ff: => Operation[FF])(f: Operation[(A, B, C, D, E, FF) => R]): Operation[R]
Inherited from:
Applicative
def ap7[A, B, C, D, E, FF, G, R](fa: => Operation[A], fb: => Operation[B], fc: => Operation[C], fd: => Operation[D], fe: => Operation[E], ff: => Operation[FF], fg: => Operation[G])(f: Operation[(A, B, C, D, E, FF, G) => R]): Operation[R]
Inherited from:
Applicative
def ap8[A, B, C, D, E, FF, G, H, R](fa: => Operation[A], fb: => Operation[B], fc: => Operation[C], fd: => Operation[D], fe: => Operation[E], ff: => Operation[FF], fg: => Operation[G], fh: => Operation[H])(f: Operation[(A, B, C, D, E, FF, G, H) => R]): Operation[R]
Inherited from:
Applicative
def apply10[A, B, C, D, E, FF, G, H, I, J, R](fa: => Operation[A], fb: => Operation[B], fc: => Operation[C], fd: => Operation[D], fe: => Operation[E], ff: => Operation[FF], fg: => Operation[G], fh: => Operation[H], fi: => Operation[I], fj: => Operation[J])(f: (A, B, C, D, E, FF, G, H, I, J) => R): Operation[R]
Inherited from:
Applicative
def apply11[A, B, C, D, E, FF, G, H, I, J, K, R](fa: => Operation[A], fb: => Operation[B], fc: => Operation[C], fd: => Operation[D], fe: => Operation[E], ff: => Operation[FF], fg: => Operation[G], fh: => Operation[H], fi: => Operation[I], fj: => Operation[J], fk: => Operation[K])(f: (A, B, C, D, E, FF, G, H, I, J, K) => R): Operation[R]
Inherited from:
Applicative
def apply12[A, B, C, D, E, FF, G, H, I, J, K, L, R](fa: => Operation[A], fb: => Operation[B], fc: => Operation[C], fd: => Operation[D], fe: => Operation[E], ff: => Operation[FF], fg: => Operation[G], fh: => Operation[H], fi: => Operation[I], fj: => Operation[J], fk: => Operation[K], fl: => Operation[L])(f: (A, B, C, D, E, FF, G, H, I, J, K, L) => R): Operation[R]
Inherited from:
Applicative
def apply2[A, B, C](fa: => Operation[A], fb: => Operation[B])(f: (A, B) => C): Operation[C]
Inherited from:
Applicative
def apply3[A, B, C, D](fa: => Operation[A], fb: => Operation[B], fc: => Operation[C])(f: (A, B, C) => D): Operation[D]
Inherited from:
Applicative
def apply4[A, B, C, D, E](fa: => Operation[A], fb: => Operation[B], fc: => Operation[C], fd: => Operation[D])(f: (A, B, C, D) => E): Operation[E]
Inherited from:
Applicative
def apply5[A, B, C, D, E, R](fa: => Operation[A], fb: => Operation[B], fc: => Operation[C], fd: => Operation[D], fe: => Operation[E])(f: (A, B, C, D, E) => R): Operation[R]
Inherited from:
Applicative
def apply6[A, B, C, D, E, FF, R](fa: => Operation[A], fb: => Operation[B], fc: => Operation[C], fd: => Operation[D], fe: => Operation[E], ff: => Operation[FF])(f: (A, B, C, D, E, FF) => R): Operation[R]
Inherited from:
Applicative
def apply7[A, B, C, D, E, FF, G, R](fa: => Operation[A], fb: => Operation[B], fc: => Operation[C], fd: => Operation[D], fe: => Operation[E], ff: => Operation[FF], fg: => Operation[G])(f: (A, B, C, D, E, FF, G) => R): Operation[R]
Inherited from:
Applicative
def apply8[A, B, C, D, E, FF, G, H, R](fa: => Operation[A], fb: => Operation[B], fc: => Operation[C], fd: => Operation[D], fe: => Operation[E], ff: => Operation[FF], fg: => Operation[G], fh: => Operation[H])(f: (A, B, C, D, E, FF, G, H) => R): Operation[R]
Inherited from:
Applicative
def apply9[A, B, C, D, E, FF, G, H, I, R](fa: => Operation[A], fb: => Operation[B], fc: => Operation[C], fd: => Operation[D], fe: => Operation[E], ff: => Operation[FF], fg: => Operation[G], fh: => Operation[H], fi: => Operation[I])(f: (A, B, C, D, E, FF, G, H, I) => R): Operation[R]
Inherited from:
Applicative
def as[A, B](fa: Operation[A])(b: => B): Operation[B]
Inherited from:
Functor
def filterM[A](l: List[A])(f: A => Operation[Boolean]): Operation[List[A]]

Filter l according to an applicative predicate.

Filter l according to an applicative predicate.

Inherited from:
Applicative
def lift10[A, B, C, D, E, FF, G, H, I, J, R](f: (A, B, C, D, E, FF, G, H, I, J) => R): (Operation[A], Operation[B], Operation[C], Operation[D], Operation[E], Operation[FF], Operation[G], Operation[H], Operation[I], Operation[J]) => Operation[R]
Inherited from:
Applicative
def lift11[A, B, C, D, E, FF, G, H, I, J, K, R](f: (A, B, C, D, E, FF, G, H, I, J, K) => R): (Operation[A], Operation[B], Operation[C], Operation[D], Operation[E], Operation[FF], Operation[G], Operation[H], Operation[I], Operation[J], Operation[K]) => Operation[R]
Inherited from:
Applicative
def lift12[A, B, C, D, E, FF, G, H, I, J, K, L, R](f: (A, B, C, D, E, FF, G, H, I, J, K, L) => R): (Operation[A], Operation[B], Operation[C], Operation[D], Operation[E], Operation[FF], Operation[G], Operation[H], Operation[I], Operation[J], Operation[K], Operation[L]) => Operation[R]
Inherited from:
Applicative
def lift2[A, B, C](f: (A, B) => C): (Operation[A], Operation[B]) => Operation[C]
Inherited from:
Applicative
def lift3[A, B, C, D](f: (A, B, C) => D): (Operation[A], Operation[B], Operation[C]) => Operation[D]
Inherited from:
Applicative
def lift4[A, B, C, D, E](f: (A, B, C, D) => E): (Operation[A], Operation[B], Operation[C], Operation[D]) => Operation[E]
Inherited from:
Applicative
def lift5[A, B, C, D, E, R](f: (A, B, C, D, E) => R): (Operation[A], Operation[B], Operation[C], Operation[D], Operation[E]) => Operation[R]
Inherited from:
Applicative
def lift6[A, B, C, D, E, FF, R](f: (A, B, C, D, E, FF) => R): (Operation[A], Operation[B], Operation[C], Operation[D], Operation[E], Operation[FF]) => Operation[R]
Inherited from:
Applicative
def lift7[A, B, C, D, E, FF, G, R](f: (A, B, C, D, E, FF, G) => R): (Operation[A], Operation[B], Operation[C], Operation[D], Operation[E], Operation[FF], Operation[G]) => Operation[R]
Inherited from:
Applicative
def lift8[A, B, C, D, E, FF, G, H, R](f: (A, B, C, D, E, FF, G, H) => R): (Operation[A], Operation[B], Operation[C], Operation[D], Operation[E], Operation[FF], Operation[G], Operation[H]) => Operation[R]
Inherited from:
Applicative
def lift9[A, B, C, D, E, FF, G, H, I, R](f: (A, B, C, D, E, FF, G, H, I) => R): (Operation[A], Operation[B], Operation[C], Operation[D], Operation[E], Operation[FF], Operation[G], Operation[H], Operation[I]) => Operation[R]
Inherited from:
Applicative
override def map[A, B](fa: Operation[A])(f: A => B): Operation[B]
Definition Classes
Applicative -> Functor
Inherited from:
Applicative
final def pure[A](a: => A): Operation[A]
Inherited from:
Applicative
def sequence[A, G[_]](as: G[Operation[A]])(using evidence$1: Traverse[G]): Operation[G[A]]
Inherited from:
Applicative
def traverse[A, G[_], B](value: G[A])(f: A => Operation[B])(using G: Traverse[G]): Operation[G[B]]
Inherited from:
Applicative
def tuple2[A, B](fa: => Operation[A], fb: => Operation[B]): Operation[(A, B)]
Inherited from:
Applicative
def tuple3[A, B, C](fa: => Operation[A], fb: => Operation[B], fc: => Operation[C]): Operation[(A, B, C)]
Inherited from:
Applicative
def tuple4[A, B, C, D](fa: => Operation[A], fb: => Operation[B], fc: => Operation[C], fd: => Operation[D]): Operation[(A, B, C, D)]
Inherited from:
Applicative
def tuple5[A, B, C, D, E](fa: => Operation[A], fb: => Operation[B], fc: => Operation[C], fd: => Operation[D], fe: => Operation[E]): Operation[(A, B, C, D, E)]
Inherited from:
Applicative
def unless[A](cond: Boolean)(f: => Operation[A]): Operation[Unit]

Returns the given argument if cond is false, otherwise, unit lifted into F.

Returns the given argument if cond is false, otherwise, unit lifted into F.

Inherited from:
Applicative
def void[A](fa: Operation[A]): Operation[Unit]
Inherited from:
Functor
def when[A](cond: Boolean)(f: => Operation[A]): Operation[Unit]

Returns the given argument if cond is true, otherwise, unit lifted into F.

Returns the given argument if cond is true, otherwise, unit lifted into F.

Inherited from:
Applicative
def xmap[A, B](fa: Operation[A], f: A => B, g: B => A): Operation[B]
Inherited from:
Functor