Effect

trait Effect[F[_]]

jap.fields.typeclass.Effect is a typeclass that provides ValidationModule with Monad/Defer capabilities.

Companion:
object
Source:
Effect.scala
class Object
trait Matchable
class Any
object SyncInstance.type

Value members

Abstract methods

def defer[A](a: => F[A]): F[A]

Makes effect lazy

Makes effect lazy

Source:
Effect.scala
def flatMap[A, B](fa: F[A])(f: A => F[B]): F[B]

FlatMap one effect into another using f function

FlatMap one effect into another using f function

Source:
Effect.scala
def map[A, B](fa: F[A])(f: A => B): F[B]

Map effect into another using f function

Map effect into another using f function

Source:
Effect.scala
def pure[A](a: A): F[A]

Lifts value into Effect

Lifts value into Effect

Source:
Effect.scala
def suspend[A](a: => A): F[A]

Lazily lifts value into Effect

Lazily lifts value into Effect

Source:
Effect.scala