ApplyOps

final
class ApplyOps[F[_], A] extends Ops[F[A]]

Wraps a value self and provides methods related to Apply

trait Ops[F[A]]
class Object
trait Matchable
class Any

Value members

Concrete methods

final
def *>[B](fb: F[B]): F[B]

Combine self and fb according to Apply[F] and discard the A(s)

Combine self and fb according to Apply[F] and discard the A(s)

final
def *>ByName[B](fb: => F[B]): F[B]

Combine self and fb according to Apply[F] and discard the A(s), except 'fb' is non-strictly evaluated.

Combine self and fb according to Apply[F] and discard the A(s), except 'fb' is non-strictly evaluated.

final
def <*[B](fb: F[B]): F[A]

Combine self and fb according to Apply[F] and discard the B(s)

Combine self and fb according to Apply[F] and discard the B(s)

final
def <*>[B](f: F[A => B]): F[B]
final
def <*ByName[B](fb: => F[B]): F[A]

Combine self and fb according to Apply[F] and discard the B(s), except 'fb' is non-strictly evaluated.

Combine self and fb according to Apply[F] and discard the B(s), except 'fb' is non-strictly evaluated.

final
def forever[B]: F[B]

Repeats this applicative action infinitely.

Repeats this applicative action infinitely.

final
def tuple[B](f: F[B]): F[(A, B)]
final
def |@|[B](fb: F[B]): ApplicativeBuilder[F, A, B]

DSL for constructing Applicative expressions.

DSL for constructing Applicative expressions.

(f1 |@| f2 |@| ... |@| fn)((v1, v2, ... vn) => ...) is an alternative to Apply[F].applyN(f1, f2, ..., fn)((v1, v2, ... vn) => ...)

(f1 |@| f2 |@| ... |@| fn).tupled is an alternative to Apply[F].applyN(f1, f2, ..., fn)(TupleN.apply _)

Warning: each call to |@| leads to an allocation of wrapper object. For performance sensitive code, consider using scalaz.Apply#applyN directly.

final
def [B](fb: F[B]): ApplicativeBuilder[F, A, B]

Alias for |@|

Alias for |@|

Concrete fields

val self: F[A]

Implicits

Implicits

implicit
val F: Apply[F]