Packages

t

scalaz

LensFunctions

trait LensFunctions extends LensFamilyFunctions

Source
Lens.scala
Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. LensFunctions
  2. LensFamilyFunctions
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

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. def applyLens[A, B](k: (B) ⇒ A)(implicit e: Equal[A]): @>[Store[A, B], B]
  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  7. def codiagLens[A]: Lens[\/[A, A], A]

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

  8. 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
  9. def distributeLens[A, B, C]: @>[(A, \/[B, C]), \/[(A, B), (A, C)]]
  10. 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
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  13. def factorLens[A, B, C]: @>[\/[(A, B), (A, C)], (A, \/[B, C])]
  14. 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
  15. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. def firstLens[A, B]: @>[(A, B), A]

    Access the first field of a tuple

  17. 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
  18. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  19. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. def lazyFirstLens[A, B]: @>[LazyTuple2[A, B], A]

    Access the first field of a tuple

  22. 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
  23. def lazySecondLens[A, B]: @>[LazyTuple2[A, B], B]

    Access the second field of a tuple

  24. 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
  25. def lens[A, B](r: (A) ⇒ Store[B, A]): Lens[A, B]
  26. def lensFamily[A1, A2, B1, B2](r: (A1) ⇒ IndexedStore[B1, B2, A2]): LensFamily[A1, A2, B1, B2]
    Definition Classes
    LensFamilyFunctions
  27. 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
  28. def lensFamilyg[A1, A2, B1, B2](set: (A1) ⇒ (B2) ⇒ A2, get: (A1) ⇒ B1): LensFamily[A1, A2, B1, B2]
    Definition Classes
    LensFamilyFunctions
  29. def lensFamilyu[A1, A2, B1, B2](set: (A1, B2) ⇒ A2, get: (A1) ⇒ B1): LensFamily[A1, A2, B1, B2]
    Definition Classes
    LensFamilyFunctions
  30. def lensId[A]: Lens[A, A]

    The identity lens for a given object

  31. def lensg[A, B](set: (A) ⇒ (B) ⇒ A, get: (A) ⇒ B): Lens[A, B]
  32. def lensu[A, B](set: (A, B) ⇒ A, get: (A) ⇒ B): Lens[A, B]
  33. def mapVLens[K, V](k: K): @>[Map[K, V], Option[V]]

    Access the value at a particular key of a Map *

  34. def mapWithDefaultLens[K, V](k: K): @>[WithDefault[K, V], V]

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

  35. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  36. def nelHeadLens[A]: @>[NonEmptyList[A], A]
  37. def nelTailLens[A]: @>[NonEmptyList[A], List[A]]
  38. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  39. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  40. def predicateLens[A]: @>[Store[A, Boolean], \/[A, A]]
  41. def predicateLensFamily[A1, A2]: LensFamily[Store[A1, Boolean], Store[A2, Boolean], \/[A1, A1], \/[A2, A2]]
    Definition Classes
    LensFamilyFunctions
  42. def secondLens[A, B]: @>[(A, B), B]

    Access the second field of a tuple

  43. 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
  44. def setMembershipLens[A](a: A): @>[Set[A], Boolean]

    Specify whether a value is in a Set

  45. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  46. def toString(): String
    Definition Classes
    AnyRef → Any
  47. def trivialLens[A]: Lens[A, Unit]

    The trivial lens that can retrieve Unit from anything

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

Inherited from LensFamilyFunctions

Inherited from AnyRef

Inherited from Any

Ungrouped