Packages

c

monocle.law

PrismLaws

case class PrismLaws[S, A](prism: Prism[S, A]) extends Product with Serializable

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PrismLaws
  2. Serializable
  3. Product
  4. Equals
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new PrismLaws(prism: Prism[S, A])

Value Members

  1. def composeModify(s: S, f: (A) => A, g: (A) => A): IsEq[S]
  2. def consistentGetOptionModifyId(s: S): IsEq[Option[A]]
  3. def consistentModifyModifyId(s: S, f: (A) => A): IsEq[S]
  4. def consistentReplaceModify(s: S, a: A): IsEq[S]
  5. def modifyIdentity(s: S): IsEq[S]
  6. def partialRoundTripOneWay(s: S): IsEq[S]
  7. val prism: Prism[S, A]
  8. def productElementNames: Iterator[String]
    Definition Classes
    Product
  9. def roundTripOtherWay(a: A): IsEq[Option[A]]