Field1

@implicitNotFound("Could not find an instance of Field1[${S}, ${A}]")
trait Field1[S, A] extends Serializable

The Field1 typeclass provides a Lens for a way to get the first element of structure.

Type parameters:
A

the focus of a Lens

S

the source of a Lens

Companion:
object
class Object
trait Matchable
class Any

Value members

Abstract methods

def first: Lens[S, A]