final case class Lens[A, B](get: (A) ⇒ B, set: (A, B) ⇒ A) extends Product with Serializable
- Source
- lens.scala
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Lens
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new Lens(get: (A) ⇒ B, set: (A, B) ⇒ A)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
- def %=(f: (B) ⇒ B): State[A, B]
- def :=(b: ⇒ B): State[A, B]
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def >=>[C](bc: Lens[B, C]): Lens[A, C]
- def andThen[C](bc: Lens[B, C]): Lens[A, C]
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
- def compose[C](bc: Lens[C, A]): Lens[C, B]
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- val get: (A) ⇒ B
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def modify(a: A, f: (B) ⇒ B): A
- def mods(f: (B) ⇒ B): State[A, B]
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val set: (A, B) ⇒ A
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
- def xmapA[AA](f: (AA) ⇒ A, g: (A) ⇒ AA): Lens[AA, B]
- def xmapB[BB](f: (BB) ⇒ B, g: (B) ⇒ BB): Lens[A, BB]