dev.constructive.eo.CanModifyAP
See theCanModifyAP companion object
Capability: the foci A inside an S can be rewritten effectfully under any Applicative[G] — the carrier-free surface of any optic whose carrier admits forgetful.ForgetfulTraverse[F, Applicative] (Lens, Prism, Optional, Traversal, Fold).
Prefer this trait in consuming signatures; the monomorphic CanModifyA alias covers the common case. For collecting the foci without effects, CanFold.foci is the carrier-free counterpart of the raw-optic all extension. See CanGet for the doctrine and the coherence rule.
Attributes
- Companion
- object
- Source
- CanModifyA.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
Members list
In this article