POptional

Companion
class
Source
Optional.scala
class Object
trait Matchable
class Any

Value members

Concrete methods

def apply[S, T, A, B](_getOrModify: S => Either[T, A])(_set: B => S => T): POptional[S, T, A, B]

create a POptional using the canonical functions: getOrModify and replace

create a POptional using the canonical functions: getOrModify and replace

Source
Optional.scala

Deprecated methods

@deprecated("use PLens.codiagonal", since = "3.0.0-M4")
def codiagonal[S, T]: POptional[Either[S, S], Either[T, T], S, T]
Deprecated
[Since version 3.0.0-M4]
Source
Optional.scala
@deprecated("use PIso.id", since = "3.0.0-M2")
def id[S, T]: POptional[S, T, S, T]
Deprecated
[Since version 3.0.0-M2]
Source
Optional.scala

Implicits

Implicits

implicit def optionalSyntax[S, A](self: Optional[S, A]): OptionalSyntax[S, A]
implicit def pOptionalSyntax[S, T, A, B](self: POptional[S, T, A, B]): POptionalSyntax[S, T, A, B]

Inherited implicits

implicit val optionalChoice: Choice[Optional]