Functor2

izumi.functional.bio.Functor2
trait Functor2[F[_, _]] extends RootBifunctor[F]

Attributes

Graph
Supertypes
trait RootBifunctor[F]
trait Root
class Object
trait Matchable
class Any
Show all
Known subtypes
trait Applicative2[F]
trait Guarantee2[F]
trait Error2[F]
class Error2Instance[S]
class BioEither
object BioEither
trait Bracket2[F]
trait Panic2[F]
class Panic2Instance[S]
trait IO2[F]
trait WeakAsync2[F]
trait Async2[F]
class AsyncZio[R]
object AsyncZio
class TemporalZio[R]
object TemporalZio
trait Monad2[F]
class Monad2Instance[S]
class BioIdentity2
object BioIdentity2
Show all

Members list

Type members

Inherited types

Attributes

Inherited from:
DivergenceHelper

Attributes

Inherited from:
PredefinedHelper

Value members

Abstract methods

def map[E, A, B](r: F[E, A])(f: A => B): F[E, B]

Concrete methods

def as[E, A, B](r: F[E, A])(v: => B): F[E, B]
def clock(implicit clock: Clock2[F]): clock.type
Implicitly added by AttachClockAccessor
def entropy(implicit entropy: Entropy2[F]): entropy.type
Implicitly added by AttachEntropyAccessor
def fromOptionOr[E, A](valueOnNone: => A, r: F[E, Option[A]]): F[E, A]

Extracts the optional value, or returns the given valueOnNone value

Extracts the optional value, or returns the given valueOnNone value

Attributes

def void[E, A](r: F[E, A]): F[E, Unit]
final def widen[E, A, A1](r: F[E, A])(implicit ev: A <:< A1): F[E, A1]