MonocleOptionalModifier

trait MonocleOptionalModifier[O[_, _, _, _]]

Provide access to the modify to Option function on any compatible optic.

Provide access to the modify to Option function on any compatible optic.

Type Params
O

The optic type.

Companion
object
class Object
trait Matchable
class Any
object LensM
object OptionalM
object IsoM
object PrismM
object TraversalM

Value members

Abstract methods

def modifyOption[S, T, A, B](l: O[S, T, A, B])(f: A => Option[B]): S => Option[T]