monocle.function

GenericOptics

trait GenericOptics extends AtFunctions with ConsFunctions with Cons1Functions with CurryFunctions with EachFunctions with EmptyFunctions with Field1Functions with Field2Functions with Field3Functions with Field4Functions with Field5Functions with Field6Functions with FilterIndexFunctions with IndexFunctions with PlatedFunctions with ReverseFunctions with SnocFunctions with Snoc1Functions

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. GenericOptics
  2. Snoc1Functions
  3. SnocFunctions
  4. ReverseFunctions
  5. PlatedFunctions
  6. IndexFunctions
  7. FilterIndexFunctions
  8. Field6Functions
  9. Field5Functions
  10. Field4Functions
  11. Field3Functions
  12. Field2Functions
  13. Field1Functions
  14. EmptyFunctions
  15. EachFunctions
  16. CurryFunctions
  17. Cons1Functions
  18. ConsFunctions
  19. AtFunctions
  20. AnyRef
  21. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def _cons[S, A](head: A, tail: S)(implicit ev: Cons[S, A]): S

    append an element to the head

    append an element to the head

    Definition Classes
    ConsFunctions
  7. final def _cons1[S, H, T](head: H, tail: T)(implicit ev: Cons1[S, H, T]): S

    append an element to the head

    append an element to the head

    Definition Classes
    Cons1Functions
  8. def _empty[S](implicit ev: Empty[S]): S

    Definition Classes
    EmptyFunctions
  9. def _isEmpty[S](s: S)(implicit ev: Empty[S]): Boolean

    Definition Classes
    EmptyFunctions
  10. def _reverse[S](s: S)(implicit ev: Reverse[S, S]): S

    Definition Classes
    ReverseFunctions
  11. final def _snoc[S, A](init: S, last: A)(implicit ev: Snoc[S, A]): S

    append an element to the end

    append an element to the end

    Definition Classes
    SnocFunctions
  12. final def _snoc1[S, I, L](init: I, last: L)(implicit ev: Snoc1[S, I, L]): S

    append an element to the end

    append an element to the end

    Definition Classes
    Snoc1Functions
  13. final def _uncons[S, A](s: S)(implicit ev: Cons[S, A]): Option[(A, S)]

    deconstruct an S between its head and tail

    deconstruct an S between its head and tail

    Definition Classes
    ConsFunctions
  14. final def _uncons1[S, H, T](s: S)(implicit ev: Cons1[S, H, T]): (H, T)

    deconstruct an S between its head and tail

    deconstruct an S between its head and tail

    Definition Classes
    Cons1Functions
  15. final def _unsnoc[S, A](s: S)(implicit ev: Snoc[S, A]): Option[(S, A)]

    deconstruct an S between its init and last

    deconstruct an S between its init and last

    Definition Classes
    SnocFunctions
  16. final def _unsnoc1[S, I, L](s: S)(implicit ev: Snoc1[S, I, L]): (I, L)

    deconstruct an S between its init and last

    deconstruct an S between its init and last

    Definition Classes
    Snoc1Functions
  17. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  18. def at[S, I, A](i: I)(implicit ev: At[S, I, A]): Lens[S, A]

    Definition Classes
    AtFunctions
  19. def atIndex[S, I, A](implicit ev: At[S, I, Option[A]]): Index[S, I, A]

    Definition Classes
    IndexFunctions
  20. def children[A](a: A)(implicit arg0: Plated[A]): List[A]

    get the immediate self-similar children of a target

    get the immediate self-similar children of a target

    Definition Classes
    PlatedFunctions
    Annotations
    @inline()
  21. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  22. final def cons[S, A](implicit ev: Cons[S, A]): Prism[S, (A, S)]

    Definition Classes
    ConsFunctions
  23. final def cons1[S, H, T](implicit ev: Cons1[S, H, T]): Iso[S, (H, T)]

    Definition Classes
    Cons1Functions
  24. def curry[F, G](implicit ev: Curry[F, G]): Iso[F, G]

    Definition Classes
    CurryFunctions
  25. def each[S, A](implicit ev: Each[S, A]): Traversal[S, A]

    Definition Classes
    EachFunctions
  26. def empty[S](implicit ev: Empty[S]): Prism[S, Unit]

    Definition Classes
    EmptyFunctions
  27. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  29. def fifth[S, A](implicit ev: Field5[S, A]): Lens[S, A]

    Definition Classes
    Field5Functions
  30. def filterIndex[S, I, A](predicate: (I) ⇒ Boolean)(implicit ev: FilterIndex[S, I, A]): Traversal[S, A]

    Definition Classes
    FilterIndexFunctions
  31. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  32. def first[S, A](implicit ev: Field1[S, A]): Lens[S, A]

    Definition Classes
    Field1Functions
  33. def fourth[S, A](implicit ev: Field4[S, A]): Lens[S, A]

    Definition Classes
    Field4Functions
  34. final def getClass(): Class[_]

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

    Definition Classes
    AnyRef → Any
  36. final def head[S, H, T](implicit ev: Cons1[S, H, T]): Lens[S, H]

    Definition Classes
    Cons1Functions
  37. final def headOption[S, A](implicit ev: Cons[S, A]): Optional[S, A]

    Definition Classes
    ConsFunctions
  38. def index[S, I, A](i: I)(implicit ev: Index[S, I, A]): Optional[S, A]

    Definition Classes
    IndexFunctions
  39. final def init[S, I, L](implicit ev: Snoc1[S, I, L]): Lens[S, I]

    Definition Classes
    Snoc1Functions
  40. final def initOption[S, A](implicit ev: Snoc[S, A]): Optional[S, S]

    Definition Classes
    SnocFunctions
  41. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  42. final def last[S, I, L](implicit ev: Snoc1[S, I, L]): Lens[S, L]

    Definition Classes
    Snoc1Functions
  43. final def lastOption[S, A](implicit ev: Snoc[S, A]): Optional[S, A]

    Definition Classes
    SnocFunctions
  44. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  45. final def notify(): Unit

    Definition Classes
    AnyRef
  46. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  47. def plate[A](implicit P: Plated[A]): Traversal[A, A]

    Traversal of immediate self-similar children

    Traversal of immediate self-similar children

    Definition Classes
    PlatedFunctions
  48. def remove[S, I, A](i: I)(s: S)(implicit ev: At[S, I, Option[A]]): S

    delete a value associated with a key in a Map-like container

    delete a value associated with a key in a Map-like container

    Definition Classes
    AtFunctions
  49. def reverse[S, A](implicit ev: Reverse[S, A]): Iso[S, A]

    Definition Classes
    ReverseFunctions
  50. def reverseFromReverseFunction[S](_reverse: (S) ⇒ S): Reverse[S, S]

    Definition Classes
    ReverseFunctions
  51. def rewrite[A](f: (A) ⇒ Option[A])(a: A)(implicit arg0: Plated[A]): A

    rewrite a target by applying a rule as often as possible until it reaches a fixpoint (this is an infinite loop if there is no fixpoint)

    rewrite a target by applying a rule as often as possible until it reaches a fixpoint (this is an infinite loop if there is no fixpoint)

    Definition Classes
    PlatedFunctions
  52. def rewriteOf[A](l: Setter[A, A])(f: (A) ⇒ Option[A])(a: A): A

    rewrite a target by applying a rule within a Setter, as often as possible until it reaches a fixpoint (this is an infinite loop if there is no fixpoint)

    rewrite a target by applying a rule within a Setter, as often as possible until it reaches a fixpoint (this is an infinite loop if there is no fixpoint)

    Definition Classes
    PlatedFunctions
  53. def second[S, A](implicit ev: Field2[S, A]): Lens[S, A]

    Definition Classes
    Field2Functions
  54. def sixth[S, A](implicit ev: Field6[S, A]): Lens[S, A]

    Definition Classes
    Field6Functions
  55. final def snoc[S, A](implicit ev: Snoc[S, A]): Prism[S, (S, A)]

    Definition Classes
    SnocFunctions
  56. final def snoc1[S, I, L](implicit ev: Snoc1[S, I, L]): Iso[S, (I, L)]

    Definition Classes
    Snoc1Functions
  57. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  58. final def tail[S, H, T](implicit ev: Cons1[S, H, T]): Lens[S, T]

    Definition Classes
    Cons1Functions
  59. final def tailOption[S, A](implicit ev: Cons[S, A]): Optional[S, S]

    Definition Classes
    ConsFunctions
  60. def third[S, A](implicit ev: Field3[S, A]): Lens[S, A]

    Definition Classes
    Field3Functions
  61. def toString(): String

    Definition Classes
    AnyRef → Any
  62. def transform[A](f: (A) ⇒ A)(a: A)(implicit arg0: Plated[A]): A

    transform every element

    transform every element

    Definition Classes
    PlatedFunctions
  63. def transformOf[A](l: Setter[A, A])(f: (A) ⇒ A)(a: A): A

    transform every element by applying a Setter

    transform every element by applying a Setter

    Definition Classes
    PlatedFunctions
  64. def traverseEach[S[_], A](implicit arg0: Traverse[S]): Each[S[A], A]

    Definition Classes
    EachFunctions
  65. def traverseFilterIndex[S[_], A](zipWithIndex: (S[A]) ⇒ S[(A, Int)])(implicit arg0: Traverse[S]): FilterIndex[S[A], Int, A]

    Definition Classes
    FilterIndexFunctions
  66. def uncurry[F, G](implicit ev: Curry[F, G]): Iso[G, F]

    Definition Classes
    CurryFunctions
  67. def universe[A](a: A)(implicit arg0: Plated[A]): Stream[A]

    get all transitive self-similar elements of a target, including itself

    get all transitive self-similar elements of a target, including itself

    Definition Classes
    PlatedFunctions
  68. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. final def headMaybe[S, A](implicit ev: Cons[S, A]): Optional[S, A]

    Definition Classes
    ConsFunctions
    Annotations
    @deprecated
    Deprecated

    (Since version 1.1.0) use headOption

  2. final def initMaybe[S, A](implicit ev: Snoc[S, A]): Optional[S, S]

    Definition Classes
    SnocFunctions
    Annotations
    @deprecated
    Deprecated

    (Since version 1.1.0) use initOption

  3. final def lastMaybe[S, A](implicit ev: Snoc[S, A]): Optional[S, A]

    Definition Classes
    SnocFunctions
    Annotations
    @deprecated
    Deprecated

    (Since version 1.1.0) use lastOption

  4. final def tailMaybe[S, A](implicit ev: Cons[S, A]): Optional[S, S]

    Definition Classes
    ConsFunctions
    Annotations
    @deprecated
    Deprecated

    (Since version 1.1.0) use tailOption

Inherited from Snoc1Functions

Inherited from SnocFunctions

Inherited from ReverseFunctions

Inherited from PlatedFunctions

Inherited from IndexFunctions

Inherited from FilterIndexFunctions

Inherited from Field6Functions

Inherited from Field5Functions

Inherited from Field4Functions

Inherited from Field3Functions

Inherited from Field2Functions

Inherited from Field1Functions

Inherited from EmptyFunctions

Inherited from EachFunctions

Inherited from CurryFunctions

Inherited from Cons1Functions

Inherited from ConsFunctions

Inherited from AtFunctions

Inherited from AnyRef

Inherited from Any

Ungrouped