Trait

monocle.function

GenericOptics

Related Doc: package function

Permalink

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 PossibleFunctions with ReverseFunctions with SnocFunctions with Snoc1Functions with WrappedFunctions

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

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 _cons[S, A](head: A, tail: S)(implicit ev: Cons[S, A]): S

    Permalink

    append an element to the head

    append an element to the head

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

    Permalink

    append an element to the head

    append an element to the head

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

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

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

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

    Permalink

    append an element to the end

    append an element to the end

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

    Permalink

    append an element to the end

    append an element to the end

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

    Permalink

    deconstruct an S between its head and tail

    deconstruct an S between its head and tail

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

    Permalink

    deconstruct an S between its head and tail

    deconstruct an S between its head and tail

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

    Permalink

    deconstruct an S between its init and last

    deconstruct an S between its init and last

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

    Permalink

    deconstruct an S between its init and last

    deconstruct an S between its init and last

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

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

    Permalink
    Definition Classes
    AtFunctions
  17. def children[A](a: A)(implicit arg0: Plated[A]): List[A]

    Permalink

    get the immediate self-similar children of a target

    get the immediate self-similar children of a target

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

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    FilterIndexFunctions
  28. def finalize(): Unit

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

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

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

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

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  42. final def notify(): Unit

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

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

    Permalink

    Traversal of immediate self-similar children

    Traversal of immediate self-similar children

    Definition Classes
    PlatedFunctions
  45. def possible[S, A](implicit ev: Possible[S, A]): Optional[S, A]

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

    Permalink

    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
  47. def reverse[S, A](implicit ev: Reverse[S, A]): Iso[S, A]

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

    Permalink

    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
  49. def rewriteOf[A](l: Setter[A, A])(f: (A) ⇒ Option[A])(a: A): A

    Permalink

    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
  50. def second[S, A](implicit ev: Field2[S, A]): Lens[S, A]

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    Field3Functions
  58. def toString(): String

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

    Permalink

    transform every element

    transform every element

    Definition Classes
    PlatedFunctions
  60. def transformCounting[A](f: (A) ⇒ Option[A])(a: A)(implicit arg0: Plated[A]): (Int, A)

    Permalink

    transforming counting changes

    transforming counting changes

    Definition Classes
    PlatedFunctions
  61. def transformM[A, M[_]](f: (A) ⇒ M[A])(a: A)(implicit arg0: Plated[A], arg1: Monad[M]): M[A]

    Permalink

    transforming every element using monadic transformation

    transforming every element using monadic transformation

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

    Permalink

    transform every element by applying a Setter

    transform every element by applying a Setter

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

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

    Permalink

    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
  65. def unwrapped[S, A](implicit ev: Wrapped[S, A]): Iso[A, S]

    Permalink
    Definition Classes
    WrappedFunctions
  66. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  69. def wrapped[S, A](implicit ev: Wrapped[S, A]): Iso[S, A]

    Permalink
    Definition Classes
    WrappedFunctions

Deprecated Value Members

  1. def atIndex[S, I, A](implicit ev: At[S, I, Option[A]]): Index[S, I, A]

    Permalink
    Definition Classes
    IndexFunctions
    Annotations
    @deprecated
    Deprecated

    (Since version 1.4.0) use Index.fromAt

  2. def reverseFromReverseFunction[S](_reverse: (S) ⇒ S): Reverse[S, S]

    Permalink
    Definition Classes
    ReverseFunctions
    Annotations
    @deprecated
    Deprecated

    (Since version 1.4.0) use Reverse.fromReverseFunction

  3. def traverseEach[S[_], A](implicit arg0: Traverse[S]): Each[S[A], A]

    Permalink
    Definition Classes
    EachFunctions
    Annotations
    @deprecated
    Deprecated

    (Since version 1.4.0) use Each.fromTraverse

  4. def traverseFilterIndex[S[_], A](zipWithIndex: (S[A]) ⇒ S[(A, Int)])(implicit arg0: Traverse[S]): FilterIndex[S[A], Int, A]

    Permalink
    Definition Classes
    FilterIndexFunctions
    Annotations
    @deprecated
    Deprecated

    (Since version 1.4.0) use FilterIndex.fromTraverse

Inherited from WrappedFunctions

Inherited from Snoc1Functions

Inherited from SnocFunctions

Inherited from ReverseFunctions

Inherited from PossibleFunctions

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