scalaz

LensInstances

Related Doc: package scalaz

trait LensInstances extends LensInstances0

Source
Lens.scala
Linear Supertypes
LensInstances0, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. LensInstances
  2. LensInstances0
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. type ArrayLens[S, A] = ArrayLensFamily[S, S, A]

  2. 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

  3. type FractionalLens[S, F] = FractionalLensFamily[S, S, F]

  4. 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

  5. type IntegralLens[S, I] = IntegralLensFamily[S, S, I]

  6. 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

  7. type MapLens[S, K, V] = MapLensFamily[S, S, K, V]

  8. 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

  9. type NumericLens[S, N] = NumericLensFamily[S, S, N]

  10. 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

  11. type QueueLens[S, A] = QueueLensFamily[S, S, A]

  12. 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

  13. type SeqLikeLens[S, A, Repr <: SeqLike[A, Repr]] = SeqLikeLensFamily[S, S, A, Repr]

  14. 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

  15. type SetLens[S, K] = SetLensFamily[S, S, K]

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

  17. type StackLens[S, A] = StackLensFamily[S, S, A]

  18. case class StackLensFamily[S1, S2, A](lens: LensFamily[S1, S2, Stack[A], Stack[A]]) extends Product with Serializable

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

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

  5. val FractionalLens: FractionalLensFamily.type

  6. val IntegralLens: IntegralLensFamily.type

  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

  8. implicit def LensFamilyUnzip[S, R]: Unzip[[α]LensFamily[S, R, α, α]]

  9. val MapLens: MapLensFamily.type

  10. val NumericLens: NumericLensFamily.type

  11. val QueueLens: QueueLensFamily.type

  12. val SeqLikeLens: SeqLikeLensFamily.type

  13. val SetLens: SetLensFamily.type

  14. val StackLens: StackLensFamily.type

  15. implicit def arrayLensFamily[S1, S2, A](lens: LensFamily[S1, S2, Array[A], Array[A]]): ArrayLensFamily[S1, S2, A]

  16. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  17. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  18. final def eq(arg0: AnyRef): Boolean

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

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

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  21. implicit def fractionalLensFamily[S1, S2, F](lens: LensFamily[S1, S2, F, F])(implicit arg0: Fractional[F]): FractionalLensFamily[S1, S2, F]

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

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

    Definition Classes
    AnyRef → Any
  24. implicit def integralLensFamily[S1, S2, I](lens: LensFamily[S1, S2, I, I])(implicit arg0: Integral[I]): IntegralLensFamily[S1, S2, I]

  25. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  26. implicit def lensCategory: LensCategory

  27. implicit def mapLensFamily[S1, S2, K, V](lens: LensFamily[S1, S2, Map[K, V], Map[K, V]]): MapLensFamily[S1, S2, K, V]

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

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

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

    Definition Classes
    AnyRef
  31. implicit def numericLensFamily[S1, S2, N](lens: LensFamily[S1, S2, N, N])(implicit arg0: Numeric[N]): NumericLensFamily[S1, S2, N]

  32. implicit def queueLensFamily[S1, S2, A](lens: LensFamily[S1, S2, Queue[A], Queue[A]]): QueueLensFamily[S1, S2, A]

  33. implicit def seqLensFamily[S1, S2, A](lens: LensFamily[S1, S2, Seq[A], Seq[A]]): SeqLikeLensFamily[S1, S2, A, Seq[A]]

  34. implicit def seqLikeLensFamily[S1, S2, A, Repr <: SeqLike[A, Repr]](lens: LensFamily[S1, S2, Repr, Repr]): SeqLikeLensFamily[S1, S2, A, Repr]

    Definition Classes
    LensInstances0
  35. 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

  36. implicit def stackLensFamily[S1, S2, A](lens: LensFamily[S1, S2, Stack[A], Stack[A]]): StackLensFamily[S1, S2, A]

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

    Definition Classes
    AnyRef
  38. def toString(): String

    Definition Classes
    AnyRef → Any
  39. 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])

  40. 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])

  41. 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])

  42. 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])

  43. 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])

  44. 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])

  45. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from LensInstances0

Inherited from AnyRef

Inherited from Any

Ungrouped