Lens

doobie.util.lens.Lens
final case class Lens[A, B](get: A => B, set: (A, B) => A)

Attributes

Source
lens.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def %=(f: B => B): State[A, B]

Attributes

Source
lens.scala
def :=(b: => B): State[A, B]

Attributes

Source
lens.scala
def >=>[C](bc: Lens[B, C]): Lens[A, C]

Attributes

Source
lens.scala
def andThen[C](bc: Lens[B, C]): Lens[A, C]

Attributes

Source
lens.scala
def compose[C](bc: Lens[C, A]): Lens[C, B]

Attributes

Source
lens.scala
def modify(a: A, f: B => B): A

Attributes

Source
lens.scala
def mods(f: B => B): State[A, B]

Attributes

Source
lens.scala
def xmapA[AA](f: AA => A, g: A => AA): Lens[AA, B]

Attributes

Source
lens.scala
def xmapB[BB](f: BB => B, g: B => BB): Lens[A, BB]

Attributes

Source
lens.scala

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product