Field2

@implicitNotFound("Could not find an instance of Field2[${S},${A}], please check Monocle instance location policy to ".+("find out which import is necessary")) @deprecated("use Focus[$TupleType](_._2)", since = "3.0.0-M2") abstract class Field2[S, A] extends Serializable

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

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

Type Params
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
trait Serializable
class Object
trait Matchable
class Any

Value members

Abstract methods

def second: Lens[S, A]