OrPatch

zio.Differ.OrPatch
See theOrPatch companion trait
object OrPatch

Attributes

Companion
trait
Source
Differ.scala
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
OrPatch.type

Members list

Type members

Inherited and Abstract types

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
Source
Mirror.scala

The name of the type

The name of the type

Attributes

Inherited from:
Mirror
Source
Mirror.scala

Value members

Concrete methods

def diff[Value, Value2, Patch, Patch2](oldValue: Either[Value, Value2], newValue: Either[Value, Value2])(left: Differ[Value, Patch], right: Differ[Value2, Patch2]): OrPatch[Value, Value2, Patch, Patch2]

Constructs an or patch from a new and old value and a differ for the values.

Constructs an or patch from a new and old value and a differ for the values.

Attributes

Source
Differ.scala
def empty[Value, Value2, Patch, Patch2]: OrPatch[Value, Value2, Patch, Patch2]

Constructs an empty or patch.

Constructs an empty or patch.

Attributes

Source
Differ.scala