scalaz

Lens

object Lens extends Serializable

Linear Supertypes
Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Hide All
  2. Show all
  1. Lens
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
Visibility
  1. Public
  2. All

Type Members

  1. case class ArrayLens [S, A] (lens: Lens[S, Array[A]]) extends Product with Serializable

  2. case class FractionalLens [S, F] (lens: Lens[S, F], frac: Fractional[F]) extends Product with Serializable

  3. case class IntegralLens [S, I] (lens: Lens[S, I], int: Integral[I]) extends Product with Serializable

  4. case class MapLens [S, K, V] (lens: Lens[S, Map[K, V]]) extends SubtractableLens[S, K, Map[K, V]] with Product with Serializable

  5. case class NumericLens [S, N] (lens: Lens[S, N], num: Numeric[N]) extends Product with Serializable

  6. case class QueueLens [S, A] (lens: Lens[S, Queue[A]]) extends Product with Serializable

  7. case class SeqLikeLens [S, A, Repr <: SeqLike[A, Repr]] (lens: Lens[S, Repr]) extends Product with Serializable

  8. trait SetLikeLens [S, K, Repr <: SetLike[K, Repr] with Set[K]] extends SubtractableLens[S, K, Repr]

  9. case class StackLens [S, A] (lens: Lens[S, Stack[A]]) extends Product with Serializable

  10. trait SubtractableLens [S, A, Repr <: Subtractable[A, Repr]] extends WrappedLens[S, Repr]

  11. trait WrappedLens [S, A] extends AnyRef

Value Members

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

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

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

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

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

    Attributes
    final
    Definition Classes
    Any
  6. implicit def arrayLens [S, A] : (Lens[S, Array[Array[A]]]) ⇒ ArrayLens[S, Array[A]]

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

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

    Attributes
    implicit
  7. def asInstanceOf [T0] : T0

    Attributes
    final
    Definition Classes
    Any
  8. implicit def asState [A, B] (lens: Lens[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

    Attributes
    implicit
  9. implicit def category : Category[Lens]

    Lenses form a category

    Lenses form a category

    Attributes
    implicit
  10. def clone (): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  11. def codiag [A] : Lens[Either[A, A], A]

    A lens that discards the choice of Right or Left from Either

  12. def eq (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  13. def equals (arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  14. def finalize (): Unit

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  15. implicit def fractionalLens [S, F] (lens: Lens[S, F])(implicit arg0: Fractional[F]): FractionalLens[S, F]

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

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

    Attributes
    implicit
  16. def fst [A, B] : Lens[(A, B), A]

    Access the first field of a tuple

  17. implicit def generalizedFunctor [A] : GeneralizedFunctor[Lens, Function1, Id]

    There exists a generalized functor from Lenses to Function1, which just forgets how to set the value

    There exists a generalized functor from Lenses to Function1, which just forgets how to set the value

    Attributes
    implicit
  18. def getClass (): java.lang.Class[_]

    Attributes
    final
    Definition Classes
    AnyRef → Any
  19. def hashCode (): Int

    Definition Classes
    AnyRef → Any
  20. implicit def integralLens [S, I] (lens: Lens[S, I])(implicit arg0: Integral[I]): IntegralLens[S, I]

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

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

    Attributes
    implicit
  21. implicit def invariantFunctor [A] : InvariantFunctor[[α]Lens[A, α]]

    Lenses are an invariant functor.

    Lenses are an invariant functor. xmap can be used to transform a view into an isomorphic form

    Attributes
    implicit
  22. def isInstanceOf [T0] : Boolean

    Attributes
    final
    Definition Classes
    Any
  23. implicit def mapLens [S, K, V] : (Lens[S, Map[K, V]]) ⇒ MapLens[S, K, V]

    A lens that views an immutable Map type can provide a mutable.

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

    Attributes
    implicit
  24. def ne (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  25. def notify (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  26. def notifyAll (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  27. implicit def numericLens [S, N] (lens: Lens[S, N])(implicit arg0: Numeric[N]): NumericLens[S, N]

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

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

    Attributes
    implicit
  28. implicit def queueLens [S, A] : (Lens[S, Queue[A]]) ⇒ QueueLens[S, A]

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

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

    Attributes
    implicit
  29. def readResolve (): AnyRef

    Attributes
    protected
  30. def self [A] : Lens[A, A]

    The identity lens for a given object

  31. implicit def seqLens [S, A] : (Lens[S, Seq[A]]) ⇒ SeqLikeLens[S, A, Seq[A]]

    Attributes
    implicit
  32. implicit def seqLikeLens [S, A, Repr <: SeqLike[A, Repr]] : (Lens[S, Repr]) ⇒ SeqLikeLens[S, A, Repr]

    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

    Attributes
    implicit
  33. implicit def setLens [S, K] : (Lens[S, Set[K]]) ⇒ SetLikeLens[S, K, Set[K]]

    Attributes
    implicit
  34. implicit def setLikeLens [S, K, Repr <: SetLike[K, Repr] with Set[K]] (l: Lens[S, Repr]): SetLikeLens[S, K, Repr]

    A lens that views an SetLike type can provide the appearance of in place mutation

    A lens that views an SetLike type can provide the appearance of in place mutation

    Attributes
    implicit
  35. def snd [A, B] : Lens[(A, B), B]

    Access the second field of a tuple

  36. implicit def stackLens [S, A] : (Lens[S, Stack[A]]) ⇒ StackLens[S, A]

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

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

    Attributes
    implicit
  37. implicit def subtractableLens [S, A, Repr <: Subtractable[A, Repr]] (l: Lens[S, Repr]): SubtractableLens[S, A, Repr]

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

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

    Attributes
    implicit
  38. def synchronized [T0] (arg0: ⇒ T0): T0

    Attributes
    final
    Definition Classes
    AnyRef
  39. def toString (): String

    Definition Classes
    AnyRef → Any
  40. def trivial [A] : Lens[A, Unit]

    The trivial lens that can retrieve Unit from anything

  41. implicit def tuple2Lens [S, A, B] (lens: Lens[S, (A, B)]): (Lens[S, A], Lens[S, B])

    Enriches lenses that view tuples with field accessors

    Enriches lenses that view tuples with field accessors

    Attributes
    implicit
  42. implicit def tuple3Lens [S, A, B, C] (lens: Lens[S, (A, B, C)]): (Lens[S, A], Lens[S, B], Lens[S, C])

    Enriches lenses that view tuples with field accessors

    Enriches lenses that view tuples with field accessors

    Attributes
    implicit
  43. implicit def tuple4Lens [S, A, B, C, D] (lens: Lens[S, (A, B, C, D)]): (Lens[S, A], Lens[S, B], Lens[S, C], Lens[S, D])

    Enriches lenses that view tuples with field accessors

    Enriches lenses that view tuples with field accessors

    Attributes
    implicit
  44. implicit def tuple5Lens [S, A, B, C, D, E] (lens: Lens[S, (A, B, C, D, E)]): (Lens[S, A], Lens[S, B], Lens[S, C], Lens[S, D], Lens[S, E])

    Enriches lenses that view tuples with field accessors

    Enriches lenses that view tuples with field accessors

    Attributes
    implicit
  45. implicit def tuple6Lens [S, A, B, C, D, E, F] (lens: Lens[S, (A, B, C, D, E, F)]): (Lens[S, A], Lens[S, B], Lens[S, C], Lens[S, D], Lens[S, E], Lens[S, F])

    Enriches lenses that view tuples with field accessors

    Enriches lenses that view tuples with field accessors

    Attributes
    implicit
  46. implicit def tuple7Lens [S, A, B, C, D, E, F, G] (lens: Lens[S, (A, B, C, D, E, F, G)]): (Lens[S, A], Lens[S, B], Lens[S, C], Lens[S, D], Lens[S, E], Lens[S, F], Lens[S, G])

    Enriches lenses that view tuples with field accessors

    Enriches lenses that view tuples with field accessors

    Attributes
    implicit
  47. def wait (): Unit

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

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

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any