Object/Class

scalaz

LensFamily

Related Docs: class LensFamily | package scalaz

Permalink

object LensFamily extends LensInstances with LensFunctions

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

Type Members

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

    Permalink
    Definition Classes
    LensInstances
  2. case class ArrayLensFamily[S1, S2, A](lens: LensFamily[S1, S2, Array[A], Array[A]]) extends Product with Serializable

    Permalink

    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
  3. type FractionalLens[S, F] = FractionalLensFamily[S, S, F]

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

    Permalink

    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
  5. type IntegralLens[S, I] = IntegralLensFamily[S, S, I]

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

    Permalink

    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
  7. type MapLens[S, K, V] = MapLensFamily[S, S, K, V]

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

    Permalink

    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
  9. type NumericLens[S, N] = NumericLensFamily[S, S, N]

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

    Permalink

    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. type QueueLens[S, A] = QueueLensFamily[S, S, A]

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

    Permalink

    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
  13. type SeqLikeLens[S, A, Repr <: SeqLike[A, Repr]] = SeqLikeLensFamily[S, S, A, Repr]

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

    Permalink

    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
  15. type SetLens[S, K] = SetLensFamily[S, S, K]

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

    Permalink
    Definition Classes
    LensInstances

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. val ArrayLens: ArrayLensFamily.type

    Permalink
    Definition Classes
    LensInstances
  5. val FractionalLens: FractionalLensFamily.type

    Permalink
    Definition Classes
    LensInstances
  6. val IntegralLens: IntegralLensFamily.type

    Permalink
    Definition Classes
    LensInstances
  7. implicit def LensFamilyState[A, B](lens: LensFamily[A, _, B, _]): State[A, B]

    Permalink

    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, α, α]]

    Permalink
    Definition Classes
    LensInstances
  9. val MapLens: MapLensFamily.type

    Permalink
    Definition Classes
    LensInstances
  10. val NumericLens: NumericLensFamily.type

    Permalink
    Definition Classes
    LensInstances
  11. val QueueLens: QueueLensFamily.type

    Permalink
    Definition Classes
    LensInstances
  12. val SeqLikeLens: SeqLikeLensFamily.type

    Permalink
    Definition Classes
    LensInstances
  13. val SetLens: SetLensFamily.type

    Permalink
    Definition Classes
    LensInstances
  14. def apply[A1, A2, B1, B2](r: (A1) ⇒ IndexedStore[B1, B2, A2]): LensFamily[A1, A2, B1, B2]

    Permalink
  15. def applyLens[A, B](k: (B) ⇒ A)(implicit e: Equal[A]): @>[Store[A, B], B]

    Permalink
    Definition Classes
    LensFunctions
  16. implicit def arrayLensFamily[S1, S2, A](lens: LensFamily[S1, S2, Array[A], Array[A]]): ArrayLensFamily[S1, S2, A]

    Permalink
    Definition Classes
    LensInstances
  17. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  18. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  19. def codiagLens[A]: Lens[\/[A, A], A]

    Permalink

    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]

    Permalink

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

    Permalink
    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)]]

    Permalink
    Definition Classes
    LensFamilyFunctions
  23. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  25. def factorLens[A, B, C]: @>[\/[(A, B), (A, C)], (A, \/[B, C])]

    Permalink
    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])]

    Permalink
    Definition Classes
    LensFamilyFunctions
  27. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  28. def firstLens[A, B]: @>[(A, B), A]

    Permalink

    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]

    Permalink

    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]

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

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

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

    Permalink
    Definition Classes
    LensInstances
  34. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  35. def lazyFirstLens[A, B]: @>[LazyTuple2[A, B], A]

    Permalink

    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]

    Permalink

    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]

    Permalink

    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]

    Permalink

    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]

    Permalink
    Definition Classes
    LensFunctions
  40. implicit val lensCategory: LensCategory

    Permalink
    Definition Classes
    LensInstances
  41. def lensFamily[A1, A2, B1, B2](r: (A1) ⇒ IndexedStore[B1, B2, A2]): LensFamily[A1, A2, B1, B2]

    Permalink
    Definition Classes
    LensFamilyFunctions
  42. def lensFamilyId[A1, A2]: LensFamily[A1, A2, A1, A2]

    Permalink

    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]

    Permalink
    Definition Classes
    LensFamilyFunctions
  44. def lensFamilyu[A1, A2, B1, B2](set: (A1, B2) ⇒ A2, get: (A1) ⇒ B1): LensFamily[A1, A2, B1, B2]

    Permalink
    Definition Classes
    LensFamilyFunctions
  45. def lensId[A]: Lens[A, A]

    Permalink

    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]

    Permalink
    Definition Classes
    LensFunctions
  47. def lensu[A, B](set: (A, B) ⇒ A, get: (A) ⇒ B): Lens[A, B]

    Permalink
    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]

    Permalink
    Definition Classes
    LensInstances
  49. def mapVLens[K, V](k: K): @>[Map[K, V], Option[V]]

    Permalink

    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]

    Permalink

    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

    Permalink
    Definition Classes
    AnyRef
  52. def nelHeadLens[A]: @>[NonEmptyList[A], A]

    Permalink
    Definition Classes
    LensFunctions
  53. def nelTailLens[A]: @>[NonEmptyList[A], List[A]]

    Permalink
    Definition Classes
    LensFunctions
  54. final def notify(): Unit

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

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

    Permalink
    Definition Classes
    LensInstances
  57. def predicateLens[A]: @>[Store[A, Boolean], \/[A, A]]

    Permalink
    Definition Classes
    LensFunctions
  58. def predicateLensFamily[A1, A2]: LensFamily[Store[A1, Boolean], Store[A2, Boolean], \/[A1, A1], \/[A2, A2]]

    Permalink
    Definition Classes
    LensFamilyFunctions
  59. implicit def queueLensFamily[S1, S2, A](lens: LensFamily[S1, S2, Queue[A], Queue[A]]): QueueLensFamily[S1, S2, A]

    Permalink
    Definition Classes
    LensInstances
  60. def secondLens[A, B]: @>[(A, B), B]

    Permalink

    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]

    Permalink

    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]]

    Permalink
    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]

    Permalink
    Definition Classes
    LensInstances0
  64. implicit def setLensFamily[S1, S2, K](lens: LensFamily[S1, S2, Set[K], Set[K]]): SetLensFamily[S1, S2, K]

    Permalink

    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]

    Permalink

    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

    Permalink
    Definition Classes
    AnyRef
  67. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  68. def trivialLens[A]: Lens[A, Unit]

    Permalink

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

    Permalink
    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])

    Permalink
    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])

    Permalink
    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])

    Permalink
    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])

    Permalink
    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])

    Permalink
    Definition Classes
    LensInstances
  75. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from LensFunctions

Inherited from LensFamilyFunctions

Inherited from LensInstances

Inherited from LensInstances0

Inherited from AnyRef

Inherited from Any

Ungrouped