Transform

zio.schema.Patch.Transform
final case class Transform[A, B](patch: Patch[A], f: A => Either[String, B], g: B => Either[String, A]) extends Patch[B]

Attributes

Source
Patch.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Patch[B]
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override def invert: Patch[B]

Attributes

Definition Classes
Source
Patch.scala
override def isComparable: Boolean

Attributes

Definition Classes
Source
Patch.scala
override def isIdentical: Boolean

Attributes

Definition Classes
Source
Patch.scala
override def patch(input: B): Either[String, B]

Attributes

Definition Classes
Source
Patch.scala

Inherited methods

def <*>[B](that: Patch[B]): Patch[(B, B)]

A symbolic operator for zip.

A symbolic operator for zip.

Attributes

Inherited from:
Patch
Source
Patch.scala

An iterator over the names of all the elements of this product.

An iterator over the names of all the elements of this product.

Attributes

Inherited from:
Product
Source
Product.scala

An iterator over all the elements of this product.

An iterator over all the elements of this product.

Attributes

Returns

in the default implementation, an Iterator[Any]

Inherited from:
Product
Source
Product.scala
def zip[B](that: Patch[B]): Patch[(B, B)]

Attributes

Inherited from:
Patch
Source
Patch.scala