Field1

monocle.function.Field1
See theField1 companion object
abstract class Field1[S, A] extends Serializable

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

Members list

Concise view

Value members

Abstract methods

def first: Lens[S, A]

Attributes

Source:
Field1.scala