Object/Class

zio.optics.OpticModule

Optic

Related Docs: class Optic | package OpticModule

Permalink

object Optic extends Serializable

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

Type Members

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

    Permalink

    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

    Permalink

    Provides implicit syntax for composing optics.

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

    Permalink

    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

    Permalink

    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

    Permalink

    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

    Permalink

    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

    Permalink

    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

    Permalink

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

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

    Permalink

    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

    Permalink

    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

    Permalink

    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

    Permalink

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

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

    Permalink

    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

    Permalink

    Provides implicit syntax for working with partially applied optics.

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

    Permalink

    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

    Permalink

    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

    Permalink

    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

    Permalink

    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

    Permalink

    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

    Permalink

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

  21. implicit class ZipSyntax[GetWhole, SetWholeBefore, SetPiece, GetError, SetError, GetPiece, SetWholeAfter] extends AnyRef

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def at[A](n: Int): (OpticModule.this)#Optional[Chunk[A], A]

    Permalink

    An optic that accesses the specified index of a chunk.

  6. def clone(): AnyRef

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

    Permalink

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

  8. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  10. def filter[A](f: (A) ⇒ Boolean): (OpticModule.this)#Traversal[Chunk[A], A]

    Permalink

    An optic that accesses a filtered subset of a chunk.

  11. def finalize(): Unit

    Permalink
    Attributes
    protected[java.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]

    Permalink

    An optic that accesses the first element of a tuple.

  13. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  14. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  15. def head[A]: (OpticModule.this)#Optional[List[A], A]

    Permalink

    An optic that accesses the head of a list.

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

    Permalink

    The identity optic.

  17. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  18. def key[K, V](k: K): (OpticModule.this)#Optional[Map[K, V], V]

    Permalink

    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]

    Permalink

    An optic that accesses the Left case of an Either.

  20. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  21. def none[A]: (OpticModule.this)#Prism[Option[A], Unit]

    Permalink

    An optic that accesses the None case of an Option.

  22. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  23. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  24. def right[A, B, C]: (OpticModule.this)#ZPrism[Either[A, B], Either[A, C], B, C]

    Permalink

    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]

    Permalink

    An optic that accesses the second element of a tuple.

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

    Permalink

    An optic that accesses a slice of a chunk.

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

    Permalink

    An optic that accesses the Some case of an Option.

  28. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  29. def tail[A]: (OpticModule.this)#Optional[List[A], List[A]]

    Permalink

    An optic that accesses the tail of a list.

  30. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  31. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped