trait LensFunctions extends LensFamilyFunctions
- Alphabetic
- By Inheritance
- LensFunctions
- LensFamilyFunctions
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def applyLens[A, B](k: (B) => A)(implicit e: Equal[A]): @>[Store[A, B], B]
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def codiagLens[A]: Lens[\/[A, A], A]
A lens that discards the choice of right or left from disjunction
- 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
- def distributeLens[A, B, C]: @>[(A, \/[B, C]), \/[(A, B), (A, C)]]
- 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
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def factorLens[A, B, C]: @>[\/[(A, B), (A, C)], (A, \/[B, C])]
- 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
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def firstLens[A, B]: @>[(A, B), A]
Access the first field of a tuple
- 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
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def lazyFirstLens[A, B]: @>[LazyTuple2[A, B], A]
Access the first field of a tuple
- 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
- def lazySecondLens[A, B]: @>[LazyTuple2[A, B], B]
Access the second field of a tuple
- 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
- def lens[A, B](r: (A) => Store[B, A]): Lens[A, B]
- def lensFamily[A1, A2, B1, B2](r: (A1) => IndexedStore[B1, B2, A2]): LensFamily[A1, A2, B1, B2]
- Definition Classes
- LensFamilyFunctions
- 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
- def lensFamilyg[A1, A2, B1, B2](set: (A1) => (B2) => A2, get: (A1) => B1): LensFamily[A1, A2, B1, B2]
- Definition Classes
- LensFamilyFunctions
- def lensFamilyu[A1, A2, B1, B2](set: (A1, B2) => A2, get: (A1) => B1): LensFamily[A1, A2, B1, B2]
- Definition Classes
- LensFamilyFunctions
- def lensId[A]: Lens[A, A]
The identity lens for a given object
- def lensg[A, B](set: (A) => (B) => A, get: (A) => B): Lens[A, B]
- def lensu[A, B](set: (A, B) => A, get: (A) => B): Lens[A, B]
- def mapVLens[K, V](k: K): @>[Map[K, V], Option[V]]
Access the value at a particular key of a Map *
- def mapWithDefaultLens[K, V](k: K): @>[WithDefault[K, V], V]
Access the value at a particular key of a Map.WithDefault
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def nelHeadLens[A]: @>[NonEmptyList[A], A]
- def nelTailLens[A]: @>[NonEmptyList[A], List[A]]
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def predicateLens[A]: @>[Store[A, Boolean], \/[A, A]]
- def predicateLensFamily[A1, A2]: LensFamily[Store[A1, Boolean], Store[A2, Boolean], \/[A1, A1], \/[A2, A2]]
- Definition Classes
- LensFamilyFunctions
- def secondLens[A, B]: @>[(A, B), B]
Access the second field of a tuple
- 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
- def setMembershipLens[A](a: A): @>[Set[A], Boolean]
Specify whether a value is in a Set
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def trivialLens[A]: Lens[A, Unit]
The trivial lens that can retrieve Unit from anything
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()