Packages

object Optic extends Serializable

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Optic
  2. Serializable
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. implicit class AtPartiallyAppliedSyntax[GetError >: (OpticModule.this)#OpticFailure, SetError >: GetError, Piece, Whole] extends AnyRef

    Provides implicit syntax for accessing the specified index of a chunk accessed by a partially applied optic.

  2. implicit class ComposeSyntax[GetWhole, SetWholeBefore, SetPiece, GetError, SetError, GetPiece, SetWholeAfter] extends AnyRef

    Provides implicit syntax for composing optics.

  3. implicit class ConsPartiallyAppliedSyntax[SetPiece, GetError >: (OpticModule.this)#OpticFailure, SetError, GetPiece, SetWhole] extends AnyRef

    Provides implicit syntax for accessing the :: case of a List accessed by a partially applied optic.

  4. implicit class EOpticSyntax[GetWhole, SetWholeBefore, SetPiece, Error, GetPiece, SetWholeAfter] extends AnyRef

    Provides implicit syntax for when the error types of getting and setting are unified.

  5. implicit class FilterPartiallyAppliedSyntax[GetError >: (OpticModule.this)#OpticFailure, SetError >: GetError, Piece, Whole] extends AnyRef

    Provides implicit syntax for accessing a filtered subset of a chunk accessed by a partially applied optic.

  6. implicit class FirstPartiallyAppliedSyntax[SetPiece, GetError, SetError >: GetError, GetPiece, Whole, Piece2] extends AnyRef

    Provides implicit syntax for accessing the first element of a tuple accessed by a partially applied optic.

  7. implicit class ForEachSyntax[GetWhole, SetWholeBefore <: GetWhole, SetPiece, GetError >: SetError, SetError, SetError1 >: GetError, GetPiece, SetWholeAfter] extends AnyRef

    Provides implicit syntax for applying an optic to each element of a collection accessed by another optic.

  8. implicit class HeadPartiallyAppliedSyntax[GetError >: (OpticModule.this)#OpticFailure, SetError >: GetError, Piece, Whole] extends AnyRef

    Provides implicit syntax for accessing the head of a list accessed by a partially applied optic.

  9. implicit class IsoSyntax[Whole, Piece] extends AnyRef

    Provides implicit syntax for when the optic is an isomorphism.

  10. implicit class KeyPartiallyAppliedSyntax[GetError >: (OpticModule.this)#OpticFailure, SetError >: GetError, Key, Value, Whole] extends AnyRef

    Provides implicit syntax for accessing the value at the specified key in a map accessed by a partially applied optic.

  11. implicit class LeftPartiallyAppliedSyntax[SetPiece, GetError >: (OpticModule.this)#OpticFailure, SetError, GetPiece, SetWhole, Piece2] extends AnyRef

    Provides implicit syntax for accessing the Left case of an Either accessed by a partially applied optic.

  12. implicit class LensSyntax[GetWhole, SetWholeBefore, SetPiece, GetError, SetError, GetPiece, SetWholeAfter] extends AnyRef

    Provides implicit syntax for when the whole is required to set.

  13. implicit class NonePartiallyAppliedSyntax[GetError >: (OpticModule.this)#OpticFailure, SetError, Piece, SetWhole] extends AnyRef

    Provides implicit syntax for accessing the None case of an Option accessed by a partially applied optic.

  14. implicit class PariallyAppliedOpticSyntax[SetPiece, Error, GetPiece, SetWholeAfter] extends AnyRef

    Provides implicit syntax for working with partially applied optics.

  15. implicit class PrismSyntax[GetWhole, SetPiece, GetError, SetError, GetPiece, SetWholeAfter] extends AnyRef

    Provides implicit syntax for when thewhole is not required to set.

  16. implicit class RightPartiallyAppliedSyntax[SetPiece, GetError >: (OpticModule.this)#OpticFailure, SetError, GetPiece, SetWhole, Piece2] extends AnyRef

    Provides implicit syntax for accessing the Right case of an Either accessed by a partially applied optic.

  17. implicit class SecondPartiallyAppliedSyntax[SetPiece, GetError, SetError >: GetError, GetPiece, Whole, Piece2] extends AnyRef

    Provides implicit syntax for accessing the second element of a tuple accessed by a partially applied optic.

  18. implicit class SlicePartiallyAppliedSyntax[GetError >: (OpticModule.this)#OpticFailure, SetError >: GetError, Piece, Whole] extends AnyRef

    Provides implicit syntax for accessing a slice of a chunk accessed by a partially applied optic.

  19. implicit class SomePartiallyAppliedSyntax[SetPiece, GetError >: (OpticModule.this)#OpticFailure, SetError, GetPiece, SetWhole] extends AnyRef

    Provides implicit syntax for accessing the Some case of an Option accessed by a partially applied optic.

  20. implicit class TailPartiallyAppliedSyntax[GetError >: (OpticModule.this)#OpticFailure, SetError >: GetError, Piece, Whole] extends AnyRef

    Provides implicit syntax for accessing the tail of a list accessed by a partially applied optic.

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def at[A](n: Int): (OpticModule.this)#Optional[Chunk[A], A]

    An optic that accesses the specified index of a chunk.

  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  7. def cons[A, B]: (OpticModule.this)#ZPrism[List[A], List[B], (A, List[A]), (B, List[B])]

    An optic that accesses the :: case of a List.

  8. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  9. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  10. def filter[A](f: (A) => Boolean): (OpticModule.this)#Traversal[Chunk[A], A]

    An optic that accesses a filtered subset of a chunk.

  11. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  12. def first[A, B, C]: (OpticModule.this)#ZLens[(A, B), (C, B), A, C]

    An optic that accesses the first element of a tuple.

  13. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. def head[A]: (OpticModule.this)#Optional[List[A], A]

    An optic that accesses the head of a list.

  16. def identity[A]: (OpticModule.this)#Iso[A, A]

    The identity optic.

  17. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  18. def key[K, V](k: K): (OpticModule.this)#Optional[Map[K, V], V]

    An optic that accesses the value at the specified key in a map.

  19. def left[A, B, C]: (OpticModule.this)#ZPrism[Either[A, B], Either[C, B], A, C]

    An optic that accesses the Left case of an Either.

  20. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. def none[A]: (OpticModule.this)#Prism[Option[A], Unit]

    An optic that accesses the None case of an Option.

  22. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  24. def right[A, B, C]: (OpticModule.this)#ZPrism[Either[A, B], Either[A, C], B, C]

    An optic that accesses the Right case of an Either.

  25. def second[A, B, C]: (OpticModule.this)#ZLens[(A, B), (A, C), B, C]

    An optic that accesses the second element of a tuple.

  26. def slice[A](from: Int, until: Int): (OpticModule.this)#Traversal[Chunk[A], A]

    An optic that accesses a slice of a chunk.

  27. def some[A, B]: (OpticModule.this)#ZPrism[Option[A], Option[B], A, B]

    An optic that accesses the Some case of an Option.

  28. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  29. def tail[A]: (OpticModule.this)#Optional[List[A], List[A]]

    An optic that accesses the tail of a list.

  30. def toString(): String
    Definition Classes
    AnyRef → Any
  31. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  32. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  33. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped