ModifyLaws
dev.constructive.eo.laws.ModifyLaws
Law equations for a Modify[S, A] — Optic[S, S, A, A, ModifyF].
Ported from Monocle's monocle.law.SetterLaws. Modify optics have no get, so the four laws are modify-only: identity, composition, replace idempotence, and the consistency of replace with modify(const a).
Attributes
- Source
- ModifyLaws.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
Members list
In this article