← ZIO Prelude docs

IdentityBoth

zio.prelude.IdentityBoth
See theIdentityBoth companion trait
object IdentityBoth

Attributes

Companion
trait
Source
IdentityBoth.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def apply[F[_]](implicit identityBoth: IdentityBoth[F]): IdentityBoth[F]

Summons an implicit IdentityBoth[F].

Summons an implicit IdentityBoth[F].

Attributes

Source
IdentityBoth.scala
def fromCovariantIdentityFlatten[F[_]](implicit covariant: Covariant[F], identityFlatten: IdentityFlatten[F]): IdentityBoth[F]

Attributes

Source
IdentityBoth.scala

Implicits

Implicits

implicit def ConstIdentityBoth[A : Identity]: IdentityBoth[{ type ConstA = [B] =>> Const[A, B]; }#<none>]

The IdentityBoth instance for Const.

The IdentityBoth instance for Const.

Attributes

Source
IdentityBoth.scala