IsoLaws

monocle.law.IsoLaws
case class IsoLaws[S, A](iso: Iso[S, A])

Attributes

Source:
IsoLaws.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

def composeModify(s: S, f: A => A, g: A => A): IsEq[S]

Attributes

Source:
IsoLaws.scala

Attributes

Source:
IsoLaws.scala
def consistentModifyModifyId(s: S, f: A => A): IsEq[S]

Attributes

Source:
IsoLaws.scala
def consistentReplaceModify(s: S, a: A): IsEq[S]

Attributes

Source:
IsoLaws.scala
def modifyIdentity(s: S): IsEq[S]

Attributes

Source:
IsoLaws.scala
def roundTripOneWay(s: S): IsEq[S]

Attributes

Source:
IsoLaws.scala
def roundTripOtherWay(a: A): IsEq[A]

Attributes

Source:
IsoLaws.scala

Inherited methods

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product