scalaz

LensT

object LensT extends LensTFunctions with LensTInstances

Source
Lens.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. LensT
  2. LensTInstances
  3. LensTFunctions
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  8. case class SetLens[S, K](lens: Lens[S, Set[K]]) extends Product with Serializable

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

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

Value Members

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

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

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

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

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

    Definition Classes
    Any
  6. implicit def LensState[F[+_], A, B](lens: LensT[F, A, B])(implicit F: Functor[F]): StateT[F, 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
    LensTInstances
  7. implicit def LensTUnzip[F[+_], S](implicit F: Functor[F]): Unzip[[α]LensT[F, S, α]]

    Definition Classes
    LensTInstances
  8. def apply[F[+_], A, B](r: (A) ⇒ F[Store[B, A]]): LensT[F, A, B]

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

    Definition Classes
    LensTFunctions
  10. implicit def arrayLens[S, A](lens: Lens[S, Array[A]]): ArrayLens[S, A]

    Definition Classes
    LensTInstances
  11. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  12. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  13. def codiagLens[F[+_], A](implicit arg0: Pointed[F]): LensT[F, \/[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
    LensTFunctions
  14. def distributeLens[A, B, C]: @>[(A, \/[B, C]), \/[(A, B), (A, C)]]

    Definition Classes
    LensTFunctions
  15. final def eq(arg0: AnyRef): Boolean

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

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

    Definition Classes
    LensTFunctions
  18. def finalize(): Unit

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

    Access the first field of a tuple

    Access the first field of a tuple

    Definition Classes
    LensTFunctions
  20. implicit def fractionalLens[S, F](lens: Lens[S, F])(implicit arg0: Fractional[F]): FractionalLens[S, F]

    Definition Classes
    LensTInstances
  21. final def getClass(): Class[_]

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

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

    Definition Classes
    LensTInstances
  24. final def isInstanceOf[T0]: Boolean

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

    Access the first field of a tuple

    Access the first field of a tuple

    Definition Classes
    LensTFunctions
  26. def lazySecondLens[A, B]: @>[LazyTuple2[A, B], B]

    Access the second field of a tuple

    Access the second field of a tuple

    Definition Classes
    LensTFunctions
  27. def lens[A, B](r: (A) ⇒ Store[B, A]): Lens[A, B]

    Definition Classes
    LensTFunctions
  28. def lensId[F[+_], A](implicit P: Pointed[F]): LensT[F, A, A]

    The identity lens for a given object

    The identity lens for a given object

    Definition Classes
    LensTFunctions
  29. def lensT[F[+_], A, B](r: (A) ⇒ F[Store[B, A]]): LensT[F, A, B]

    Definition Classes
    LensTFunctions
  30. implicit def lensTCategory[F[+_]](implicit F0: Monad[F]): LensTCategory[F]

    Definition Classes
    LensTInstances
  31. def lensg[A, B](set: (A) ⇒ (B) ⇒ A, get: (A) ⇒ B): Lens[A, B]

    Definition Classes
    LensTFunctions
  32. def lensgT[F[+_], A, B](set: (A) ⇒ F[(B) ⇒ A], get: (A) ⇒ F[B])(implicit M: Bind[F]): LensT[F, A, B]

    Definition Classes
    LensTFunctions
  33. def lensp[F[+_], A, B](r: (A) ⇒ Store[B, A])(implicit F: Pointed[F]): LensT[F, A, B]

    Definition Classes
    LensTFunctions
  34. def lensu[A, B](set: (A, B) ⇒ A, get: (A) ⇒ B): Lens[A, B]

    Definition Classes
    LensTFunctions
  35. implicit def mapLens[S, K, V](lens: Lens[S, Map[K, V]]): MapLens[S, K, V]

    Definition Classes
    LensTInstances
  36. 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
    LensTFunctions
  37. final def ne(arg0: AnyRef): Boolean

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

    Definition Classes
    LensTFunctions
  39. def nelTailLens[A]: @>[NonEmptyList[A], List[A]]

    Definition Classes
    LensTFunctions
  40. final def notify(): Unit

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

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

    Definition Classes
    LensTInstances
  43. def predicateLens[A]: @>[Store[A, Boolean], \/[A, A]]

    Definition Classes
    LensTFunctions
  44. implicit def queueLens[S, A](lens: Lens[S, Queue[A]]): QueueLens[S, A]

    Definition Classes
    LensTInstances
  45. def secondLens[A, B]: @>[(A, B), B]

    Access the second field of a tuple

    Access the second field of a tuple

    Definition Classes
    LensTFunctions
  46. def self[A]: Lens[A, A]

    The identity lens through the Id functor

    The identity lens through the Id functor

    Definition Classes
    LensTFunctions
  47. implicit def seqLens[S, A](lens: Lens[S, Seq[A]]): SeqLikeLens[S, A, Seq[A]]

    Definition Classes
    LensTInstances
  48. implicit def seqLikeLens[S, A, Repr <: SeqLike[A, Repr]](lens: Lens[S, Repr]): SeqLikeLens[S, A, Repr]

    Definition Classes
    LensTInstances
  49. implicit def setLens[S, K](lens: Lens[S, Set[K]]): SetLens[S, 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
    LensTInstances
  50. implicit def stackLens[S, A](lens: Lens[S, Stack[A]]): StackLens[S, A]

    Definition Classes
    LensTInstances
  51. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  52. def toString(): String

    Definition Classes
    AnyRef → Any
  53. def trivialLens[F[+_], A](implicit P: Pointed[F]): LensT[F, A, Unit]

    The trivial lens that can retrieve Unit from anything

    The trivial lens that can retrieve Unit from anything

    Definition Classes
    LensTFunctions
  54. implicit def tuple2Lens[F[+_], S, A, B](lens: LensT[F, S, (A, B)])(implicit arg0: Functor[F]): (LensT[F, S, A], LensT[F, S, B])

    Definition Classes
    LensTInstances
  55. implicit def tuple3Lens[F[+_], S, A, B, C](lens: LensT[F, S, (A, B, C)])(implicit arg0: Functor[F]): (LensT[F, S, A], LensT[F, S, B], LensT[F, S, C])

    Definition Classes
    LensTInstances
  56. implicit def tuple4Lens[F[+_], S, A, B, C, D](lens: LensT[F, S, (A, B, C, D)])(implicit arg0: Functor[F]): (LensT[F, S, A], LensT[F, S, B], LensT[F, S, C], LensT[F, S, D])

    Definition Classes
    LensTInstances
  57. implicit def tuple5Lens[F[+_], S, A, B, C, D, E](lens: LensT[F, S, (A, B, C, D, E)])(implicit arg0: Functor[F]): (LensT[F, S, A], LensT[F, S, B], LensT[F, S, C], LensT[F, S, D], LensT[F, S, E])

    Definition Classes
    LensTInstances
  58. implicit def tuple6Lens[F[+_], S, A, B, C, D, E, H](lens: LensT[F, S, (A, B, C, D, E, H)])(implicit arg0: Functor[F]): (LensT[F, S, A], LensT[F, S, B], LensT[F, S, C], LensT[F, S, D], LensT[F, S, E], LensT[F, S, H])

    Definition Classes
    LensTInstances
  59. implicit def tuple7Lens[F[+_], S, A, B, C, D, E, H, I](lens: LensT[F, S, (A, B, C, D, E, H, I)])(implicit arg0: Functor[F]): (LensT[F, S, A], LensT[F, S, B], LensT[F, S, C], LensT[F, S, D], LensT[F, S, E], LensT[F, S, H], LensT[F, S, I])

    Definition Classes
    LensTInstances
  60. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws()

Inherited from LensTInstances

Inherited from LensTFunctions

Inherited from AnyRef

Inherited from Any

Ungrouped