o

monocle

Traversal

object Traversal

Source
Traversal.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Traversal
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Value Members

  1. def apply2[S, A](get1: (S) => A, get2: (S) => A)(set: (A, A, S) => S): Traversal[S, A]
  2. def apply3[S, A](get1: (S) => A, get2: (S) => A, get3: (S) => A)(set: (A, A, A, S) => S): Traversal[S, A]
  3. def apply4[S, A](get1: (S) => A, get2: (S) => A, get3: (S) => A, get4: (S) => A)(set: (A, A, A, A, S) => S): Traversal[S, A]
  4. def apply5[S, A](get1: (S) => A, get2: (S) => A, get3: (S) => A, get4: (S) => A, get5: (S) => A)(set: (A, A, A, A, A, S) => S): Traversal[S, A]
  5. def apply6[S, A](get1: (S) => A, get2: (S) => A, get3: (S) => A, get4: (S) => A, get5: (S) => A, get6: (S) => A)(set: (A, A, A, A, A, A, S) => S): Traversal[S, A]
  6. def applyN[S, A](xs: Optional[S, A]*): Traversal[S, A]

    Merge multiple Optionals together.

    Merge multiple Optionals together. All Optional must target different piece of data otherwise the Traversal doesn't respect all properties. See this thread for more details: https://github.com/julien-truffaut/Monocle/issues/379#issuecomment-236374838.

  7. def fromTraverse[T[_], A](implicit arg0: Traverse[T]): Traversal[T[A], A]

    create a PTraversal from a Traverse

Deprecated Value Members

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

    (Since version 3.0.0-M4) use Lens.codiagonal

  2. def id[A]: Traversal[A, A]
    Annotations
    @deprecated
    Deprecated

    (Since version 3.0.0-M2) use Iso.id

  3. def void[S, A]: Traversal[S, A]

    Traversal that points to nothing

    Traversal that points to nothing

    Annotations
    @deprecated
    Deprecated

    (Since version 3.0.0-M2) use Optional.void