Trait

scalaz

LensFunctions

Related Doc: package scalaz

Permalink

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

    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. def applyLens[A, B](k: (B) ⇒ A)(implicit e: Equal[A]): @>[Store[A, B], B]

    Permalink
  5. final def asInstanceOf[T0]: T0

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

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

    Permalink

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

  8. 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
  9. def distributeLens[A, B, C]: @>[(A, \/[B, C]), \/[(A, B), (A, C)]]

    Permalink
  10. 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
  11. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
  14. 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
  15. def finalize(): Unit

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

    Permalink

    Access the first field of a tuple

  17. 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
  18. final def getClass(): Class[_]

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

    Permalink
    Definition Classes
    AnyRef → Any
  20. final def isInstanceOf[T0]: Boolean

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

    Permalink

    Access the first field of a tuple

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

    Permalink

    Access the second field of a tuple

  24. 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
  25. def lens[A, B](r: (A) ⇒ Store[B, A]): Lens[A, B]

    Permalink
  26. def lensFamily[A1, A2, B1, B2](r: (A1) ⇒ IndexedStore[B1, B2, A2]): LensFamily[A1, A2, B1, B2]

    Permalink
    Definition Classes
    LensFamilyFunctions
  27. 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
  28. def lensFamilyg[A1, A2, B1, B2](set: (A1) ⇒ (B2) ⇒ A2, get: (A1) ⇒ B1): LensFamily[A1, A2, B1, B2]

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

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

    Permalink

    The identity lens for a given object

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

    Permalink
  32. def lensu[A, B](set: (A, B) ⇒ A, get: (A) ⇒ B): Lens[A, B]

    Permalink
  33. def mapVLens[K, V](k: K): @>[Map[K, V], Option[V]]

    Permalink

    Access the value at a particular key of a Map *

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

    Permalink

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

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

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

    Permalink
  37. def nelTailLens[A]: @>[NonEmptyList[A], List[A]]

    Permalink
  38. final def notify(): Unit

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

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

    Permalink
  41. def predicateLensFamily[A1, A2]: LensFamily[Store[A1, Boolean], Store[A2, Boolean], \/[A1, A1], \/[A2, A2]]

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

    Permalink

    Access the second field of a tuple

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

    Permalink

    Specify whether a value is in a Set

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

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

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

    Permalink

    The trivial lens that can retrieve Unit from anything

  48. final def wait(): Unit

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

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

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

Inherited from LensFamilyFunctions

Inherited from AnyRef

Inherited from Any

Ungrouped