Field1

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

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

Typeclass that defines a Lens from an S to its first 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
Field1.scala
trait Serializable
class Object
trait Matchable
class Any

Value members

Abstract methods

def first: Lens[S, A]