BioIdentity3

izumi.functional.bio.impl.BioIdentity3
See theBioIdentity3 companion object
open class BioIdentity3 extends Monad3[Identity3]

Attributes

Companion:
object
Graph
Supertypes
trait Root
class Object
trait Matchable
class Any
Known subtypes
object BioIdentity3.type

Members list

Concise view

Type members

Inherited types

Attributes

Inherited from:
DivergenceHelper

Attributes

Inherited from:
PredefinedHelper

Value members

Concrete methods

override def *>[R, E, A, B](firstOp: Identity3[R, E, A], secondOp: => Identity3[R, E, B]): Identity3[R, E, B]

execute two operations in order, return result of second operation

execute two operations in order, return result of second operation

Attributes

Definition Classes
override def <*[R, E, A, B](firstOp: Identity3[R, E, A], secondOp: => Identity3[R, E, B]): Identity3[R, E, A]

execute two operations in order, same as *>, but return result of first operation

execute two operations in order, same as *>, but return result of first operation

Attributes

Definition Classes
override def flatMap[R, E, A, B](r: Identity3[R, E, A])(f: A => Identity3[R, E, B]): Identity3[R, E, B]

Attributes

Definition Classes
override def map[R, E, A, B](r: Identity3[R, E, A])(f: A => B): Identity3[R, E, B]

Attributes

Definition Classes
override def map2[R, E, A, B, C](firstOp: Identity3[R, E, A], secondOp: => Identity3[R, E, B])(f: (A, B) => C): Identity3[R, E, C]

execute two operations in order, map their results

execute two operations in order, map their results

Attributes

Definition Classes
override def pure[A](a: A): Identity3[Any, Nothing, A]

Attributes

Definition Classes
override def traverse[R, E, A, B](l: Iterable[A])(f: A => Identity3[R, E, B]): Identity3[R, E, List[B]]

Attributes

Definition Classes

Inherited methods

def as[R, E, A, B](r: Identity3[R, E, A])(v: => B): F[R, E, B]

Attributes

Inherited from:
Functor3
def flatten[R, E, A](r: Identity3[R, E, Identity3[R, E, A]]): F[R, E, A]

Attributes

Inherited from:
Monad3
final def forever[R, E, A](r: Identity3[R, E, A]): F[R, E, Nothing]

Attributes

Inherited from:
Applicative3
def fromOptionF[R, E, A](fallbackOnNone: => Identity3[R, E, A], r: Identity3[R, E, Option[A]]): F[R, E, A]

Extracts the optional value, or executes the fallbackOnNone effect

Extracts the optional value, or executes the fallbackOnNone effect

Attributes

Inherited from:
Monad3
def fromOptionOr[R, E, A](valueOnNone: => A, r: Identity3[R, E, Option[A]]): F[R, E, A]

Extracts the optional value, or returns the given valueOnNone value

Extracts the optional value, or returns the given valueOnNone value

Attributes

Inherited from:
Functor3
final def ifThenElse[R, E, E1, A](cond: Identity3[R, E, Boolean])(ifTrue: => Identity3[R, E1, A], ifFalse: => Identity3[R, E1, A])(implicit ev: E <:< E1): F[R, E1, A]

Attributes

Inherited from:
Monad3
final def ifThenElse[R, E, A](cond: Boolean)(ifTrue: => Identity3[R, E, A], ifFalse: => Identity3[R, E, A]): F[R, E, A]

Attributes

Inherited from:
Applicative3
def iterateUntil[R, E, A](r: Identity3[R, E, A])(p: A => Boolean): F[R, E, A]

Execute an action repeatedly until its result satisfies the given predicate and return that result, discarding all others.

Execute an action repeatedly until its result satisfies the given predicate and return that result, discarding all others.

Attributes

Inherited from:
Monad3
def iterateUntilF[R, E, A](init: A)(f: A => Identity3[R, E, A])(p: A => Boolean): F[R, E, A]

Apply an effectful function iteratively until its result satisfies the given predicate and return that result.

Apply an effectful function iteratively until its result satisfies the given predicate and return that result.

Attributes

Inherited from:
Monad3
def iterateWhile[R, E, A](r: Identity3[R, E, A])(p: A => Boolean): F[R, E, A]

Execute an action repeatedly until its result fails to satisfy the given predicate and return that result, discarding all others.

Execute an action repeatedly until its result fails to satisfy the given predicate and return that result, discarding all others.

Attributes

Inherited from:
Monad3
def iterateWhileF[R, E, A](init: A)(f: A => Identity3[R, E, A])(p: A => Boolean): F[R, E, A]

Apply an effectful function iteratively until its result fails to satisfy the given predicate and return that result.

Apply an effectful function iteratively until its result fails to satisfy the given predicate and return that result.

Attributes

Inherited from:
Monad3
def sequence[R, E, A](l: Iterable[Identity3[R, E, A]]): F[R, E, List[A]]

Attributes

Inherited from:
Applicative3
def sequence_[R, E](l: Iterable[Identity3[R, E, Unit]]): F[R, E, Unit]

Attributes

Inherited from:
Applicative3
def tailRecM[R, E, A, B](a: A)(f: A => Identity3[R, E, Either[A, B]]): F[R, E, B]

Attributes

Inherited from:
Monad3
def tap[R, E, A](r: Identity3[R, E, A], f: A => Identity3[R, E, Unit]): F[R, E, A]

Attributes

Inherited from:
Monad3
final def traverse[R, E, A, B](o: Option[A])(f: A => Identity3[R, E, B]): F[R, E, Option[B]]

Attributes

Inherited from:
Applicative3
def traverse_[R, E, A](l: Iterable[A])(f: A => Identity3[R, E, Unit]): F[R, E, Unit]

Attributes

Inherited from:
Applicative3
def unit: F[Any, Nothing, Unit]

Attributes

Inherited from:
Applicative3
final def unless[R, E, E1](cond: Identity3[R, E, Boolean])(ifFalse: => Identity3[R, E1, Unit])(implicit ev: E <:< E1): F[R, E1, Unit]

Attributes

Inherited from:
Monad3
final def unless[R, E](cond: Boolean)(ifFalse: => Identity3[R, E, Unit]): F[R, E, Unit]

Attributes

Inherited from:
Applicative3
def void[R, E, A](r: Identity3[R, E, A]): F[R, E, Unit]

Attributes

Inherited from:
Functor3
final def when[R, E, E1](cond: Identity3[R, E, Boolean])(ifTrue: => Identity3[R, E1, Unit])(implicit ev: E <:< E1): F[R, E1, Unit]

Attributes

Inherited from:
Monad3
final def when[R, E](cond: Boolean)(ifTrue: => Identity3[R, E, Unit]): F[R, E, Unit]

Attributes

Inherited from:
Applicative3
final def widen[R, E, A, A1](r: Identity3[R, E, A])(implicit ev: A <:< A1): F[R, E, A1]

Attributes

Inherited from:
Functor3