Differ

zio.Differ$
See theDiffer companion trait
object Differ

Attributes

Companion
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Differ.type

Members list

Type members

Classlikes

object ChunkPatch

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
ChunkPatch.type
sealed trait ChunkPatch[Value, Patch]

A patch which describes updates to a chunk of values.

A patch which describes updates to a chunk of values.

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Self type
ChunkPatch[Value, Patch]
object MapPatch

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
MapPatch.type
sealed trait MapPatch[Key, Value, Patch]

A patch which describes updates to a map of keys and values.

A patch which describes updates to a map of keys and values.

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Self type
MapPatch[Key, Value, Patch]
object OrPatch

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
OrPatch.type
sealed trait OrPatch[Value, Value2, Patch, Patch2]

A patch which describes updates to either one value or another.

A patch which describes updates to either one value or another.

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Self type
OrPatch[Value, Value2, Patch, Patch2]
object SetPatch

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
SetPatch.type
sealed trait SetPatch[A]

A patch which describes updates to a set of values.

A patch which describes updates to a set of values.

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Self type

Value members

Concrete methods

def chunk[Value, Patch](differ: Differ[Value, Patch]): Differ[Chunk[Value], ChunkPatch[Value, Patch]]

Constructs a differ that knows how to diff a Chunk of values given a differ that knows how to diff the values.

Constructs a differ that knows how to diff a Chunk of values given a differ that knows how to diff the values.

Attributes

def environment[A]: Differ[ZEnvironment[A], Patch[A, A]]

Constructs a differ that knows how to diff ZEnvironment values.

Constructs a differ that knows how to diff ZEnvironment values.

Attributes

Constructs a differ that knows how to diff IsFatal values.

Constructs a differ that knows how to diff IsFatal values.

Attributes

def map[Key, Value, Patch](differ: Differ[Value, Patch]): Differ[Map[Key, Value], MapPatch[Key, Value, Patch]]

Constructs a differ that knows how to diff a Map of keys and values given a differ that knows how to diff the values.

Constructs a differ that knows how to diff a Map of keys and values given a differ that knows how to diff the values.

Attributes

def set[A]: Differ[Set[A], SetPatch[A]]

Constructs a differ that knows how to diff a Set of values.

Constructs a differ that knows how to diff a Set of values.

Attributes

Constructs a differ that knows how to diff Supervisor values.

Constructs a differ that knows how to diff Supervisor values.

Attributes

def update[A]: Differ[A, A => A]

Constructs a differ that just diffs two values by returning a function that sets the value to the new value. This differ does not support combining multiple updates to the value compositionally and should only be used when there is no compositional way to update them.

Constructs a differ that just diffs two values by returning a function that sets the value to the new value. This differ does not support combining multiple updates to the value compositionally and should only be used when there is no compositional way to update them.

Attributes

Concrete fields

Constructs a differ that knows how to diff RuntimeFlags values.

Constructs a differ that knows how to diff RuntimeFlags values.

Attributes