Field2

monocle.function.Field2
See theField2 companion object
abstract class Field2[S, A] extends Serializable

Typeclass that defines a Lens from an S to its second element of type A

Attributes

A

target of Lens, A is supposed to be unique for a given S

S

source of Lens

Companion:
object
Deprecated
[Since version 3.0.0-M2]
Source:
Field2.scala
Graph
Supertypes
trait Serializable
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Abstract methods

def second: Lens[S, A]

Attributes

Source:
Field2.scala