object POptional extends OptionalInstances with Serializable

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. POptional
  2. Serializable
  3. OptionalInstances
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. 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

  2. implicit val optionalChoice: Choice[Optional]
    Definition Classes
    OptionalInstances
  3. implicit def optionalSyntax[S, A](self: Optional[S, A]): OptionalSyntax[S, A]
  4. implicit def pOptionalSyntax[S, T, A, B](self: POptional[S, T, A, B]): POptionalSyntax[S, T, A, B]

Deprecated Value Members

  1. def codiagonal[S, T]: POptional[Either[S, S], Either[T, T], S, T]
    Annotations
    @deprecated
    Deprecated

    (Since version 3.0.0-M4) use PLens.codiagonal

  2. def id[S, T]: POptional[S, T, S, T]
    Annotations
    @deprecated
    Deprecated

    (Since version 3.0.0-M2) use PIso.id