Packages

object Lens extends LensInstances with LensFunctions

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Lens
  2. LensFunctions
  3. LensFamilyFunctions
  4. LensInstances
  5. LensInstances0
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. type ArrayLens[S, A] = ArrayLensFamily[S, S, A]
    Definition Classes
    LensInstances
  2. type FractionalLens[S, F] = FractionalLensFamily[S, S, F]
    Definition Classes
    LensInstances
  3. type IntegralLens[S, I] = IntegralLensFamily[S, S, I]
    Definition Classes
    LensInstances
  4. type MapLens[S, K, V] = MapLensFamily[S, S, K, V]
    Definition Classes
    LensInstances
  5. type NumericLens[S, N] = NumericLensFamily[S, S, N]
    Definition Classes
    LensInstances
  6. type QueueLens[S, A] = QueueLensFamily[S, S, A]
    Definition Classes
    LensInstances
  7. type SeqLikeLens[S, A, Repr <: SeqLike[A, Repr]] = SeqLikeLensFamily[S, S, A, Repr]
    Definition Classes
    LensInstances
  8. type SetLens[S, K] = SetLensFamily[S, S, K]
    Definition Classes
    LensInstances
  9. case class ArrayLensFamily[S1, S2, A](lens: LensFamily[S1, S2, Array[A], Array[A]]) extends Product with Serializable

    Provide an imperative-seeming API for arrays viewed through a lens

    Provide an imperative-seeming API for arrays viewed through a lens

    Definition Classes
    LensInstances
  10. case class FractionalLensFamily[S1, S2, F](lens: LensFamily[S1, S2, F, F], frac: Fractional[F]) extends Product with Serializable

    Allow the illusion of imperative updates to numbers viewed through a lens

    Allow the illusion of imperative updates to numbers viewed through a lens

    Definition Classes
    LensInstances
  11. case class IntegralLensFamily[S1, S2, I](lens: LensFamily[S1, S2, I, I], ig: Integral[I]) extends Product with Serializable

    Allow the illusion of imperative updates to numbers viewed through a lens

    Allow the illusion of imperative updates to numbers viewed through a lens

    Definition Classes
    LensInstances
  12. case class MapLensFamily[S1, S2, K, V](lens: LensFamily[S1, S2, Map[K, V], Map[K, V]]) extends Product with Serializable

    A lens that views an immutable Map type can provide a mutable.Map-like API via State

    A lens that views an immutable Map type can provide a mutable.Map-like API via State

    Definition Classes
    LensInstances
  13. case class NumericLensFamily[S1, S2, N](lens: LensFamily[S1, S2, N, N], num: Numeric[N]) extends Product with Serializable

    Allow the illusion of imperative updates to numbers viewed through a lens

    Allow the illusion of imperative updates to numbers viewed through a lens

    Definition Classes
    LensInstances
  14. case class QueueLensFamily[S1, S2, A](lens: LensFamily[S1, S2, Queue[A], Queue[A]]) extends Product with Serializable

    Provide an imperative-seeming API for queues viewed through a lens

    Provide an imperative-seeming API for queues viewed through a lens

    Definition Classes
    LensInstances
  15. case class SeqLikeLensFamily[S1, S2, A, Repr <: SeqLike[A, Repr]](lens: LensFamily[S1, S2, Repr, Repr]) extends Product with Serializable

    Provide the appearance of a mutable-like API for sorting sequences through a lens

    Provide the appearance of a mutable-like API for sorting sequences through a lens

    Definition Classes
    LensInstances
  16. case class SetLensFamily[S1, S2, K](lens: LensFamily[S1, S2, Set[K], Set[K]]) extends Product with Serializable
    Definition Classes
    LensInstances

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. val ArrayLens: ArrayLensFamily.type
    Definition Classes
    LensInstances
  5. val FractionalLens: FractionalLensFamily.type
    Definition Classes
    LensInstances
  6. val IntegralLens: IntegralLensFamily.type
    Definition Classes
    LensInstances
  7. implicit def LensFamilyState[A, B](lens: LensFamily[A, _, B, _]): State[A, B]

    Lenses may be used implicitly as State monadic actions that get the viewed portion of the state

    Lenses may be used implicitly as State monadic actions that get the viewed portion of the state

    Definition Classes
    LensInstances
  8. implicit def LensFamilyUnzip[S, R]: Unzip[[α]LensFamily[S, R, α, α]]
    Definition Classes
    LensInstances
  9. val MapLens: MapLensFamily.type
    Definition Classes
    LensInstances
  10. val NumericLens: NumericLensFamily.type
    Definition Classes
    LensInstances
  11. val QueueLens: QueueLensFamily.type
    Definition Classes
    LensInstances
  12. val SeqLikeLens: SeqLikeLensFamily.type
    Definition Classes
    LensInstances
  13. val SetLens: SetLensFamily.type
    Definition Classes
    LensInstances
  14. def apply[A, B](r: (A) => Store[B, A]): Lens[A, B]
  15. def applyLens[A, B](k: (B) => A)(implicit e: Equal[A]): @>[Store[A, B], B]
    Definition Classes
    LensFunctions
  16. implicit def arrayLensFamily[S1, S2, A](lens: LensFamily[S1, S2, Array[A], Array[A]]): ArrayLensFamily[S1, S2, A]
    Definition Classes
    LensInstances
  17. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  18. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  19. def codiagLens[A]: Lens[\/[A, A], A]

    A lens that discards the choice of right or left from disjunction

    A lens that discards the choice of right or left from disjunction

    Definition Classes
    LensFunctions
  20. def codiagLensFamily[A1, A2]: LensFamily[\/[A1, A1], \/[A2, A2], A1, A2]

    A lens family that discards the choice of right or left from disjunction

    A lens family that discards the choice of right or left from disjunction

    Definition Classes
    LensFamilyFunctions
  21. def distributeLens[A, B, C]: @>[(A, \/[B, C]), \/[(A, B), (A, C)]]
    Definition Classes
    LensFunctions
  22. def distributeLensFamily[A1, A2, B1, B2, C1, C2]: LensFamily[(A1, \/[B1, C1]), (A2, \/[B2, C2]), \/[(A1, B1), (A1, C1)], \/[(A2, B2), (A2, C2)]]
    Definition Classes
    LensFamilyFunctions
  23. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  24. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  25. def factorLens[A, B, C]: @>[\/[(A, B), (A, C)], (A, \/[B, C])]
    Definition Classes
    LensFunctions
  26. def factorLensFamily[A1, A2, B1, B2, C1, C2]: LensFamily[\/[(A1, B1), (A1, C1)], \/[(A2, B2), (A2, C2)], (A1, \/[B1, C1]), (A2, \/[B2, C2])]
    Definition Classes
    LensFamilyFunctions
  27. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  28. def firstLens[A, B]: @>[(A, B), A]

    Access the first field of a tuple

    Access the first field of a tuple

    Definition Classes
    LensFunctions
  29. def firstLensFamily[A1, A2, B]: LensFamily[(A1, B), (A2, B), A1, A2]

    Polymorphically access the first field of a tuple

    Polymorphically access the first field of a tuple

    Definition Classes
    LensFamilyFunctions
  30. implicit def fractionalLensFamily[S1, S2, F](lens: LensFamily[S1, S2, F, F])(implicit arg0: Fractional[F]): FractionalLensFamily[S1, S2, F]
    Definition Classes
    LensInstances
  31. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  32. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  33. implicit def integralLensFamily[S1, S2, I](lens: LensFamily[S1, S2, I, I])(implicit arg0: Integral[I]): IntegralLensFamily[S1, S2, I]
    Definition Classes
    LensInstances
  34. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  35. def lazyFirstLens[A, B]: @>[LazyTuple2[A, B], A]

    Access the first field of a tuple

    Access the first field of a tuple

    Definition Classes
    LensFunctions
  36. def lazyFirstLensFamily[A1, A2, B]: LensFamily[LazyTuple2[A1, B], LazyTuple2[A2, B], A1, A2]

    Polymorphically access the first field of a tuple

    Polymorphically access the first field of a tuple

    Definition Classes
    LensFamilyFunctions
  37. def lazySecondLens[A, B]: @>[LazyTuple2[A, B], B]

    Access the second field of a tuple

    Access the second field of a tuple

    Definition Classes
    LensFunctions
  38. def lazySecondLensFamily[A, B1, B2]: LensFamily[LazyTuple2[A, B1], LazyTuple2[A, B2], B1, B2]

    Polymorphically access the second field of a tuple

    Polymorphically access the second field of a tuple

    Definition Classes
    LensFamilyFunctions
  39. def lens[A, B](r: (A) => Store[B, A]): Lens[A, B]
    Definition Classes
    LensFunctions
  40. implicit val lensCategory: LensCategory
    Definition Classes
    LensInstances
  41. def lensFamily[A1, A2, B1, B2](r: (A1) => IndexedStore[B1, B2, A2]): LensFamily[A1, A2, B1, B2]
    Definition Classes
    LensFamilyFunctions
  42. def lensFamilyId[A1, A2]: LensFamily[A1, A2, A1, A2]

    The identity lens family for a given pair of objects

    The identity lens family for a given pair of objects

    Definition Classes
    LensFamilyFunctions
  43. def lensFamilyg[A1, A2, B1, B2](set: (A1) => (B2) => A2, get: (A1) => B1): LensFamily[A1, A2, B1, B2]
    Definition Classes
    LensFamilyFunctions
  44. def lensFamilyu[A1, A2, B1, B2](set: (A1, B2) => A2, get: (A1) => B1): LensFamily[A1, A2, B1, B2]
    Definition Classes
    LensFamilyFunctions
  45. def lensId[A]: Lens[A, A]

    The identity lens for a given object

    The identity lens for a given object

    Definition Classes
    LensFunctions
  46. def lensg[A, B](set: (A) => (B) => A, get: (A) => B): Lens[A, B]
    Definition Classes
    LensFunctions
  47. def lensu[A, B](set: (A, B) => A, get: (A) => B): Lens[A, B]
    Definition Classes
    LensFunctions
  48. implicit def mapLensFamily[S1, S2, K, V](lens: LensFamily[S1, S2, Map[K, V], Map[K, V]]): MapLensFamily[S1, S2, K, V]
    Definition Classes
    LensInstances
  49. def mapVLens[K, V](k: K): @>[Map[K, V], Option[V]]

    Access the value at a particular key of a Map *

    Access the value at a particular key of a Map *

    Definition Classes
    LensFunctions
  50. def mapWithDefaultLens[K, V](k: K): @>[WithDefault[K, V], V]

    Access the value at a particular key of a Map.WithDefault

    Access the value at a particular key of a Map.WithDefault

    Definition Classes
    LensFunctions
  51. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  52. def nelHeadLens[A]: @>[NonEmptyList[A], A]
    Definition Classes
    LensFunctions
  53. def nelTailLens[A]: @>[NonEmptyList[A], List[A]]
    Definition Classes
    LensFunctions
  54. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  55. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  56. implicit def numericLensFamily[S1, S2, N](lens: LensFamily[S1, S2, N, N])(implicit arg0: Numeric[N]): NumericLensFamily[S1, S2, N]
    Definition Classes
    LensInstances
  57. def predicateLens[A]: @>[Store[A, Boolean], \/[A, A]]
    Definition Classes
    LensFunctions
  58. def predicateLensFamily[A1, A2]: LensFamily[Store[A1, Boolean], Store[A2, Boolean], \/[A1, A1], \/[A2, A2]]
    Definition Classes
    LensFamilyFunctions
  59. implicit def queueLensFamily[S1, S2, A](lens: LensFamily[S1, S2, Queue[A], Queue[A]]): QueueLensFamily[S1, S2, A]
    Definition Classes
    LensInstances
  60. def secondLens[A, B]: @>[(A, B), B]

    Access the second field of a tuple

    Access the second field of a tuple

    Definition Classes
    LensFunctions
  61. def secondLensFamily[A, B1, B2]: LensFamily[(A, B1), (A, B2), B1, B2]

    Polymorphically access the second field of a tuple

    Polymorphically access the second field of a tuple

    Definition Classes
    LensFamilyFunctions
  62. implicit def seqLensFamily[S1, S2, A](lens: LensFamily[S1, S2, Seq[A], Seq[A]]): SeqLikeLensFamily[S1, S2, A, Seq[A]]
    Definition Classes
    LensInstances
  63. implicit def seqLikeLensFamily[S1, S2, A, Repr <: SeqLike[A, Repr]](lens: LensFamily[S1, S2, Repr, Repr]): SeqLikeLensFamily[S1, S2, A, Repr]
    Definition Classes
    LensInstances0
  64. implicit def setLensFamily[S1, S2, K](lens: LensFamily[S1, S2, Set[K], Set[K]]): SetLensFamily[S1, S2, K]

    A lens that views a Set can provide the appearance of in place mutation

    A lens that views a Set can provide the appearance of in place mutation

    Definition Classes
    LensInstances
  65. def setMembershipLens[A](a: A): @>[Set[A], Boolean]

    Specify whether a value is in a Set

    Specify whether a value is in a Set

    Definition Classes
    LensFunctions
  66. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  67. def toString(): String
    Definition Classes
    AnyRef → Any
  68. def trivialLens[A]: Lens[A, Unit]

    The trivial lens that can retrieve Unit from anything

    The trivial lens that can retrieve Unit from anything

    Definition Classes
    LensFunctions
  69. implicit def tuple2LensFamily[S1, S2, A, B](lens: LensFamily[S1, S2, (A, B), (A, B)]): (LensFamily[S1, S2, A, A], LensFamily[S1, S2, B, B])
    Definition Classes
    LensInstances
  70. implicit def tuple3LensFamily[S1, S2, A, B, C](lens: LensFamily[S1, S2, (A, B, C), (A, B, C)]): (LensFamily[S1, S2, A, A], LensFamily[S1, S2, B, B], LensFamily[S1, S2, C, C])
    Definition Classes
    LensInstances
  71. implicit def tuple4LensFamily[S1, S2, A, B, C, D](lens: LensFamily[S1, S2, (A, B, C, D), (A, B, C, D)]): (LensFamily[S1, S2, A, A], LensFamily[S1, S2, B, B], LensFamily[S1, S2, C, C], LensFamily[S1, S2, D, D])
    Definition Classes
    LensInstances
  72. implicit def tuple5LensFamily[S1, S2, A, B, C, D, E](lens: LensFamily[S1, S2, (A, B, C, D, E), (A, B, C, D, E)]): (LensFamily[S1, S2, A, A], LensFamily[S1, S2, B, B], LensFamily[S1, S2, C, C], LensFamily[S1, S2, D, D], LensFamily[S1, S2, E, E])
    Definition Classes
    LensInstances
  73. implicit def tuple6LensFamily[S1, S2, A, B, C, D, E, H](lens: LensFamily[S1, S2, (A, B, C, D, E, H), (A, B, C, D, E, H)]): (LensFamily[S1, S2, A, A], LensFamily[S1, S2, B, B], LensFamily[S1, S2, C, C], LensFamily[S1, S2, D, D], LensFamily[S1, S2, E, E], LensFamily[S1, S2, H, H])
    Definition Classes
    LensInstances
  74. implicit def tuple7LensFamily[S1, S2, A, B, C, D, E, H, I](lens: LensFamily[S1, S2, (A, B, C, D, E, H, I), (A, B, C, D, E, H, I)]): (LensFamily[S1, S2, A, A], LensFamily[S1, S2, B, B], LensFamily[S1, S2, C, C], LensFamily[S1, S2, D, D], LensFamily[S1, S2, E, E], LensFamily[S1, S2, H, H], LensFamily[S1, S2, I, I])
    Definition Classes
    LensInstances
  75. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  76. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  77. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from LensFunctions

Inherited from LensFamilyFunctions

Inherited from LensInstances

Inherited from LensInstances0

Inherited from AnyRef

Inherited from Any

Ungrouped