BicovariantOps

zio.prelude.BicovariantSyntax.BicovariantOps
implicit class BicovariantOps[<=>[_, _], A, B](f: => A <=> B)

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def bimap[C, D](g: A => C, h: B => D)(implicit bicovariant: Bicovariant[<=>]): C <=> D
def leftMap[C](ac: A => C)(implicit bicovariant: Bicovariant[<=>]): C <=> B
def rightMap[C](bc: B => C)(implicit bicovariant: Bicovariant[<=>]): A <=> C